[appengine-java] Re: Spring 2.5 Transactions - anyone got this working?

2010-04-03 Thread Carl Ballantyne
Hi Objectuser, Thanks for the suggestions. Pointcut is correct (I think so - keep second guessing myself though trying to implement this). I changed the domain to something generic when posting the example. Can you please confirm the following is correct, ie that you inject the proxy into the

[appengine-java] Re: Spring 2.5 Transactions - anyone got this working?

2010-03-31 Thread objectuser
Check your pointcut ... is com.myapp.dao... correct? If that's correct, then I don't see anything amiss; it looks really good. Are you even able to setup a test where it works? Or are you doing it from a test? Oh, and check the use of pm.close(). That should be taken care of by Spring I

[appengine-java] Re: Spring 2.5 Transactions - anyone got this working?

2010-03-30 Thread Carl Ballantyne
Hi objectuser, Thanks for the links - very helpful. I have had a look and studied them. I am trying to get your example to work but am getting the error. org.springframework.transaction.CannotCreateTransactionException: Could not open JDO PersistenceManager for transaction; nested exception is

[appengine-java] Re: Spring 2.5 Transactions - anyone got this working?

2010-03-30 Thread Carl Ballantyne
Sorry as well at the moment I am only trying to get this to work on my local version of appengine (the SDK). I will look at the workaround posted at http://code.google.com/p/googleappengine/issues/detail?id=1381 once I have it all working. -- You received this message because you are subscribed

[appengine-java] Re: Spring 2.5 Transactions - anyone got this working?

2010-03-28 Thread objectuser
I think you're going to be disappointed. Spring transactions work in the SDK but not on the GAE host. Here's how to set them up if you still want to do it (this currently still works for me in the SDK 1.3.2): http://objectuser.wordpress.com/2009/06/30/spring-jdo-in-google-app-engine/ But