[jboss-user] [EJB 3.0] - Re: concurrently modifying entity instance

jaikiran do-not-reply at jboss.com
Thu Apr 17 04:05:36 EDT 2008


I think, what you are looking for is the @Version attribute for your entity. This allows optimistic locking. See this for more details:

http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-annotations.html#Version

Let us know, if this doesn't serve your purpose.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144751#4144751

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144751



More information about the jboss-user mailing list