/** * INTERNAL: * Adds locking clause to the target query to extend pessimistic lock scope. */ protected void extendPessimisticLockScopeInTargetQuery(ObjectLevelReadQuery targetQuery, ObjectBuildingQuery sourceQuery) { this.mechanism.setRelationTableLockingClause(targetQuery, sourceQuery); }
/** * INTERNAL: * Adds locking clause to the target query to extend pessimistic lock scope. */ @Override protected void extendPessimisticLockScopeInTargetQuery(ObjectLevelReadQuery targetQuery, ObjectBuildingQuery sourceQuery) { this.mechanism.setRelationTableLockingClause(targetQuery, sourceQuery); }
/** * INTERNAL: * Adds locking clause to the target query to extend pessimistic lock scope. */ @Override protected void extendPessimisticLockScopeInTargetQuery(ObjectLevelReadQuery targetQuery, ObjectBuildingQuery sourceQuery) { this.mechanism.setRelationTableLockingClause(targetQuery, sourceQuery); }
/** * INTERNAL: * Adds locking clause to the target query to extend pessimistic lock scope. */ @Override protected void extendPessimisticLockScopeInTargetQuery(ObjectLevelReadQuery targetQuery, ObjectBuildingQuery sourceQuery) { if(this.mechanism == null) { super.extendPessimisticLockScopeInTargetQuery(targetQuery, sourceQuery); } else { this.mechanism.setRelationTableLockingClause(targetQuery, sourceQuery); } }
/** * INTERNAL: * Adds locking clause to the target query to extend pessimistic lock scope. */ @Override protected void extendPessimisticLockScopeInTargetQuery(ObjectLevelReadQuery targetQuery, ObjectBuildingQuery sourceQuery) { if(this.mechanism == null) { super.extendPessimisticLockScopeInTargetQuery(targetQuery, sourceQuery); } else { this.mechanism.setRelationTableLockingClause(targetQuery, sourceQuery); } }
/** * INTERNAL: * Adds locking clause to the target query to extend pessimistic lock scope. */ protected void extendPessimisticLockScopeInTargetQuery(ObjectLevelReadQuery targetQuery, ObjectBuildingQuery sourceQuery) { if(this.mechanism == null) { super.extendPessimisticLockScopeInTargetQuery(targetQuery, sourceQuery); } else { this.mechanism.setRelationTableLockingClause(targetQuery, sourceQuery); } }