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:unexpected behavior using refreshAndLockObject
Next Topic:Null Property persisted with value Zero
Goto Forum:

Current Time: Thu Mar 22 10:12:39 GMT 2018

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

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