}
if(mapping.extendPessimisticLockScope == ExtendPessimisticLockScope.DEDICATED_QUERY) {
Expression startCriteria = (Expression)mapping.getSelectionQuery().getSelectionCriteria();
if(startCriteria != null) {
startCriteria = (Expression)startCriteria.clone();
}
initializeLockRelationTableQuery(session, mapping, startCriteria);
}
}