[appengine-java] Re: updating object doesn't work anymore
Thanks for the quick response! I tried switching to getPersistenceManagerProxy() but didn't get any change. After experimenting some more I finally found my problem... my object of User had a list of Category, and I carelessly used @Transient (javax.persistence) instead of @NonPersistent (javax.jdo.annotations) when persisting my User, JDO damaged my Category table... On Dec 8, 8:28 pm, a.maza andr.m...@gmail.com wrote: I am using Spring and OpenPersistenceManagerInView as well. I experienced various problems. I am now using pmf.getPersistenceManagerProxy() (instead of pmf.getPersistenceManager ()) and it works quite fine. regards, andreas On 8 Dez., 17:30, tal tal.j@gmail.com wrote: I might be having the same problem. took me a while to find the consistency: i have 2 unrelated model classes (User and Category). creating or updating Category objects initially works, but when i read users from the datastore, creating and updating of Category stops working until I restart my server. I am using a differentpersistenceManagerfor each class, retrieved from a joint persistenceManagerFactory. was your problem resolved? On Nov 20, 1:47 am, randal rdgo...@gmail.com wrote: No not yet.- Zitierten Text ausblenden - - Zitierten Text anzeigen - -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: updating object doesn't work anymore
I might be having the same problem. took me a while to find the consistency: i have 2 unrelated model classes (User and Category). creating or updating Category objects initially works, but when i read users from the datastore, creating and updating of Category stops working until I restart my server. I am using a different persistenceManager for each class, retrieved from a joint persistenceManagerFactory. was your problem resolved? On Nov 20, 1:47 am, randal rdgo...@gmail.com wrote: No not yet. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: updating object doesn't work anymore
I am using Spring and OpenPersistenceManagerInView as well. I experienced various problems. I am now using pmf.getPersistenceManagerProxy() (instead of pmf.getPersistenceManager ()) and it works quite fine. regards, andreas On 8 Dez., 17:30, tal tal.j@gmail.com wrote: I might be having the same problem. took me a while to find the consistency: i have 2 unrelated model classes (User and Category). creating or updating Category objects initially works, but when i read users from the datastore, creating and updating of Category stops working until I restart my server. I am using a different persistenceManager for each class, retrieved from a joint persistenceManagerFactory. was your problem resolved? On Nov 20, 1:47 am, randal rdgo...@gmail.com wrote: No not yet.- Zitierten Text ausblenden - - Zitierten Text anzeigen - -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: updating object doesn't work anymore
I am not using OpenPersistenceManagerInViewFilter, but I am using Spring to create the PersistenceManager at the beginning of the a request. If am changing many objects, and I seem to have problems where they don't get stored to the datastore. I can check right before I close the PersistenceManager that they objects are dirty, but they don't seem to update the datastore. I have found a hacky workaround, that if I open and close the PersistenceManager pretty close to where I make the change, it seems to store correctly. But this has caused other bugs where I have handles to objects that are part of a closed PersistenceManager. I am not sure this helps you, but I wanted to let you know that other people are having similar problems. --Jeff On Thu, Nov 19, 2009 at 11:48 PM, datanucleus andy_jeffer...@yahoo.comwrote: Any thoughts Look at the log perhaps? since it will tell you exactly what happens (at DEBUG level), and since you present no persistence code I'm not sure what other replies you're likely to get -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=.
[appengine-java] Re: updating object doesn't work anymore
No not yet. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=.
[appengine-java] Re: updating object doesn't work anymore
Any thoughts Look at the log perhaps? since it will tell you exactly what happens (at DEBUG level), and since you present no persistence code I'm not sure what other replies you're likely to get -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=.
[appengine-java] Re: updating object doesn't work anymore
Anyone? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=.