[appengine-java] Re: Object manager has been closed (GAE with Spring)

2009-08-24 Thread objectuser
For a general solution (that will work it tests and outside of tests ... and you might want to verify that the OpenPersistenceManagerInViewFilter will work on the GAE host), you'll likely need to look into "fetch groups". On Aug 24, 12:50 pm, randal wrote: > On Aug 25, 1:44 am, objectuser wrote

[appengine-java] Re: Object manager has been closed (GAE with Spring)

2009-08-24 Thread randal
On Aug 25, 1:44 am, objectuser wrote: > +1 to Wagner for a better way of determining the issue. :) Yeah, that pretty much says it. If I'm not mistaken, JdoTemplate takes the persistence manager from the OpenPersistenceManagerInViewFilter, or any existing transaction. I'll check on this. --~--~--

[appengine-java] Re: Object manager has been closed (GAE with Spring)

2009-08-24 Thread objectuser
+1 to Wagner for a better way of determining the issue. :) On Aug 24, 12:25 pm, Wagner Aioffi wrote: > Hi, > > I got the same exception using the persistence manager (jpa) outside a > spring transaction. > Is it your case? > > W. > > 2009/8/24 randal > > > > > On Aug 24, 4:44 am, objectuser wr

[appengine-java] Re: Object manager has been closed (GAE with Spring)

2009-08-24 Thread Wagner Aioffi
Hi, I got the same exception using the persistence manager (jpa) outside a spring transaction. Is it your case? W. 2009/8/24 randal > > On Aug 24, 4:44 am, objectuser wrote: > > Do you get it when you're trying to walk the graph on an object? If > > you add that property to the defaultFetch

[appengine-java] Re: Object manager has been closed (GAE with Spring)

2009-08-24 Thread randal
On Aug 24, 4:44 am, objectuser wrote: > Do you get it when you're trying to walk the graph on an object?  If > you add that property to the defaultFetchGroup does it fix it? I'm not sure I got that. What I do with the test, I call on a DAO object that uses JdoTemplate to accomplish its task. The

[appengine-java] Re: Object manager has been closed (GAE with Spring)

2009-08-23 Thread objectuser
Do you get it when you're trying to walk the graph on an object? If you add that property to the defaultFetchGroup does it fix it? On Aug 22, 11:37 pm, randal wrote: > Hello. > > I'm using Spring's JDO support. My data access classes are > JdoDaoSupport classes. I've encountered the exception t