Ah sorry! Struts 2 with Appfuse 2.0 M5
mraible wrote: > > Which web framework are you using? > > Matt > > On 6/20/07, sarat.pediredla <[EMAIL PROTECTED]> wrote: >> >> I get the following error when I try to objectManager.save(object) >> through an >> edit interface. >> >> Object of class [org.appfuse.model.User] with identifier [1]: optimistic >> locking failed; nested exception is >> org.hibernate.StaleObjectStateException: >> Row was updated or deleted by another transaction (or unsaved-value >> mapping >> was incorrect): [org.appfuse.model.User#1] >> >> My object has a reference to user, so I am assuming that when I save >> "object", it is also trying to save the user? >> >> Is the only way to ensure this doesn't happen to remove CascadeType.ALL >> from >> my getUser() in the object model? >> >> >> -- >> View this message in context: >> http://www.nabble.com/Data-Access-Error-when-editing-an-object.-tf3953266s2369.html#a11216421 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Data-Access-Error-when-editing-an-object.-tf3953266s2369.html#a11216591 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
