VersionLockingPolicy

Source file "org/eclipse/persistence/descriptors/VersionLockingPolicy.java" was not found during generation of report.

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total965 of 9650%132 of 1320%1201202292295454
updateObjectWithWriteValue(ObjectLevelModifyQuery, Object)1130%160%99282811
initialize(AbstractSession)870%160%99151511
validateDelete(int, Object, DeleteObjectQuery)540%100%66111111
validateUpdate(int, Object, WriteObjectQuery)540%100%66111111
addLockValuesToTranslationRow(ObjectLevelModifyQuery)500%80%55111111
getNewLockValue(ModifyQuery)440%40%339911
getVersionDifference(Object, Object, Object, AbstractSession)390%60%449911
initializeProperties()390%60%44111111
isNewerVersion(AbstractRecord, Object, Object, AbstractSession)300%20%225511
writeLockValueIntoRow(ObjectLevelModifyQuery, Object)280%20%225511
isNewerVersion(Object, Object, Object, AbstractSession)270%20%225511
getWriteLockValue(Object, Object, AbstractSession)250%40%336611
mergeIntoParentCache(UnitOfWorkImpl, Object, Object)250%20%224411
isNewerVersion(Object, Object)240%60%449911
compareWriteLockValues(Object, Object)220%40%335511
buildUpdateExpression(DatabaseTable, Expression, AbstractRecord, AbstractRecord)210%40%335511
updateRowAndObjectForUpdate(ObjectLevelModifyQuery, Object)210%20%225511
setupWriteFieldsForInsert(ObjectLevelModifyQuery)180%20%226611
lockValueFromObject(Object)160%20%223311
buildExpression()140%n/a112211
getUnmappedFields()140%20%224411
getVersionMapping()140%20%223311
mergeIntoParentCache(CacheKey, CacheKey)120%60%443311
updateWriteLockValueForWrite(ObjectLevelModifyQuery, Object)120%n/a113311
addLockFieldsToUpdateRow(AbstractRecord, AbstractSession)100%20%223311
getValueToPutInCache(AbstractRecord, AbstractSession)100%20%223311
getWriteLockUpdateExpression(ExpressionBuilder, AbstractSession)80%n/a111111
isStoredInCache()80%20%221111
isStoredInObject()80%20%221111
setIsStoredInCache(boolean)80%20%224411
shouldUpdateVersionOnOwnedMappingChange()80%20%221111
shouldUpdateVersionOnMappingChange()80%20%221111
VersionLockingPolicy(String)70%n/a112211
buildDeleteExpression(DatabaseTable, Expression, AbstractRecord)70%n/a111111
setWriteLockFieldName(String)70%n/a112211
VersionLockingPolicy(DatabaseField)60%n/a113311
clone()60%n/a113311
incrementWriteLockValue(Number)60%n/a111111
VersionLockingPolicy()50%n/a113311
getWriteLockFieldName()40%n/a111111
setDescriptor(ClassDescriptor)40%n/a112211
setIsCascaded(boolean)40%n/a112211
setLockOnChangeMode(OptimisticLockingPolicy.LockOnChange)40%n/a112211
setWriteLockField(DatabaseField)40%n/a112211
storeInCache()40%n/a112211
storeInObject()40%n/a112211
getBaseValue()30%n/a111111
getDescriptor()30%n/a111111
getInitialWriteValue(AbstractSession)30%n/a111111
getLockOnChangeMode()30%n/a111111
getWriteLockField()30%n/a111111
isCascaded()30%n/a111111
supportsWriteLockValuesComparison()20%n/a111111
getDefaultLockingFieldType()20%n/a111111