this.lockMode = ObjectBuildingQuery.NO_LOCK;
this.lockMode = lockMode;
try { return super.clone(); } catch (CloneNotSupportedException never) { return null; }
return lockMode;
return false;
return true;
if (lockMode == ObjectBuildingQuery.NO_LOCK) { return NO_LOCK_CLAUSE; } else { return new ForUpdateClause(lockMode); }
INTERNAL: Prints the as of clause for an expression inside of the FROM clause. // Append lock strings if (getLockMode() == ObjectBuildingQuery.LOCK) { printer.printString(printer.getSession().getPlatform().getSelectForUpdateString()); } else if (lockMode == ObjectBuildingQuery.LOCK_NOWAIT) { printer.printString(printer.getSession().getPlatform().getSelectForUpdateString()); printer.printString(printer.getSession().getPlatform().getSelectForUpdateNoWaitString()); }
// Append lock strings if (getLockMode() == ObjectBuildingQuery.LOCK) { printer.printString(printer.getSession().getPlatform().getSelectForUpdateString()); } else if (lockMode == ObjectBuildingQuery.LOCK_NOWAIT) { printer.printString(printer.getSession().getPlatform().getSelectForUpdateString()); printer.printString(printer.getSession().getPlatform().getSelectForUpdateNoWaitString()); }