/** * INTERNAL: * writes the field for fine-grained pessimistic locking. */ protected void writeForUpdateOf(ExpressionSQLPrinter printer, SQLSelectStatement statement) { if (printer.getPlatform().shouldPrintAliasForUpdate()) { writeAlias(printer, field, statement); } else { writeField(printer, field, statement); } } }
/** * INTERNAL: * writes the field for fine-grained pessimistic locking. */ protected void writeForUpdateOf(ExpressionSQLPrinter printer, SQLSelectStatement statement) { if (printer.getPlatform().shouldPrintAliasForUpdate()) { writeAlias(printer, field, statement); } else { writeField(printer, field, statement); } } }
/** * INTERNAL: * writes the field for fine-grained pessimistic locking. */ protected void writeForUpdateOf(ExpressionSQLPrinter printer, SQLSelectStatement statement) { if (printer.getPlatform().shouldPrintAliasForUpdate()) { writeAlias(printer, field, statement); } else { writeField(printer, field, statement); } } }