Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Optimistic locking
Optimistic locking [message #639348] Tue, 16 November 2010 08:05 Go to next message
Peter Kullmann is currently offline Peter KullmannFriend
Messages: 214
Registered: July 2009
Senior Member
How can I specify AllFieldsLockingPolicy or something similar in a
orm.xml file? I have seen the
@OptimisticLocking(type=OptimisticLockingType.ALL_COLUMNS) annotation
but there should be an equivalent option in the orm.xml as well.

Re: Optimistic locking [message #639492 is a reply to message #639348] Tue, 16 November 2010 18:10 Go to previous message
Paul Fullbright is currently offline Paul FullbrightFriend
Messages: 201
Registered: July 2009
Senior Member
There is. You just need to make sure you are using the eclipselink-specific version of the orm.xml, since this is an eclipselink-specific setting. xsd

Previous Topic:em.executeUpdate() DELETE always returning 1
Next Topic:[SOLVED]Problem with @Converter and smallint field
Goto Forum:

Current Time: Tue Oct 13 13:50:26 GMT 2015

Powered by FUDForum. Page generated in 0.06262 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software