Skip to main content

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: 240
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: Sat Jul 31 02:18:16 GMT 2021

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

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

Back to the top