| The following fix has been checked in, and was previously reviewed: 
 Bug 247884 - NullPointerException using Timestamp (server) based
optimistic locking and UpdateAllQuery
 
 https://bugs.eclipse.org/bugs/show_bug.cgi?id=247884
 (a patch file has been uploaded to this bug)
 
 Changes:
 - Modified OptimisticLockingPolicy.getWriteLockUpdateExpression to
accept an ExpressionBuilder and an AbstractSession
 - Also modified the getWriteLockUpdateExpression methods on
FieldsLockingPolicy, TimestampLockingPolicy and VersionLockingPolicy to
accept an ExpressionBuilder and an AbstractSession
 - Modified ExpressionQueryMechanism.prepareUpdateAll to pass the
session belonging to the UpdateAllQuery to the
OptimisticLockingPolicy.getWriteLockUpdateExpression method, along with
the ExpressionBuilder
 - Added regression test UpdateAllWithTimestampLockingTest to
OptimisticLockingTestModel
 
 Code review:
 Not required (previously reviewed by Tom Ware)
 
 Testing:
 LRG (OK)
 
 
 --   David Minsky | Senior Member of Technical Staff | (613)
288-4605 Oracle Server Technologies | Sustaining
Engineering
 45 O'Connor Street, Suite 400, Ottawa, Ontario, Canada K1P 1A4
 |