private void setLockingValues ( ClassDescriptor cld , Object obj , ValueContainer [ ] oldLockingValues ) { FieldDescriptor fields [ ] = cld . getLockingFields ( ) ; for ( int i = 0 ; i < fields . length ; i ++ ) { PersistentField field = fields [ i ] . getPersistentField ( ) ; Object lockVal = oldLockingValues [ i ] . getValue ( ) ; field . set ( obj , lockVal ) ; } }
Set the locking values