[Lift] Trouble with lift, GAE, JPA, adding child records

2009-05-26 Thread Naftoli Gugenheim
After corresponding on the google-appengine-java Google Group, (actually after reading something in another thread), I realized what's causing the problem. For some reason, committing the transaction puts the entity into detached state--but closing the EM makes it transient, so in the next reque

[Lift] Trouble with lift, GAE, JPA, adding child records

2009-05-12 Thread ngug
I made the beginnings of a lift app for GAE. It's for a volunteer medical assistance organization, to manage requests that they get. Every request has a nature, e.g., transportation, hospital visitation, etc. Each nature has a OneToMany association with a NatureLocationType, which means that when