Have you tried implementing Preparable to preload your object from the
database before applying request parameters to it? If you don't have
any user.* fields on your form, you might consider using
CascadeType.NONE.
If you'd like to see how Preparable is used, UserAction.java uses it -
you can vie
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
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 exceptio
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