[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-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] Spring 2.5 Transactions - anyone got this working?

2010-03-28 Thread Carl Ballantyne
Hi All, I have been trying for a while now to get Spring managed transactions working on GAE without success. I have searched these forums and the web and find a few examples, all slightly different, and none of which work for me. I am getting the error class javax.jdo.JDOUserException:

[appengine-java] Cannot have a java.lang.Long primary key and be a child object

2010-01-15 Thread Carl Ballantyne
Hi All, I have two classes, a Parent and a Child. (See below for code) The Parent class contains a reference to a Child instance. However when I try and save a Parent instance I get the following error: Cannot have a java.lang.Long primary key and be a child object. The error is clear enough and