users@glassfish.java.net

Optimistic concurrency with EJB 2.0

From: <glassfish_at_javadesktop.org>
Date: Fri, 27 Jun 2008 14:10:43 PDT

I have an application that I am porting from Weblogic 8.1 to Glassfish and I cant seem to find how to use optimistic concurrency with my entity beans. In the weblogic descriptors, I could flag my version column as being the optimistic column but I can't seem to find an analogue in Glassfish beyond the consistency tag in the sun-cmp-mappings.xml. The consistency tag does not seem have any methodology for flagging a column for this purpose and I haven't had any luck with the documentation nor with google.

I appreciate any help in flagging my version columns.

Thanks.
[Message sent by forum member 'jtveita' (jtveita)]

http://forums.java.net/jive/thread.jspa?messageID=283041