/** * INTERNAL: * Execute the SQL required to alter sequence increment. * Assume that the sequence exists. */ public void alterIncrement(AbstractSession session, Writer schemaWriter) throws ValidationException { if (schemaWriter == null) { this.alterOnDatabase(session); } else { this.buildAlterIncrementWriter(session, schemaWriter); } }
/** * INTERNAL: * Execute the SQL required to alter sequence increment. * Assume that the sequence exists. */ public void alterIncrement(AbstractSession session, Writer schemaWriter) throws ValidationException { if (schemaWriter == null) { this.alterOnDatabase(session); } else { this.buildAlterIncrementWriter(session, schemaWriter); } }
/** * INTERNAL: * Execute the SQL required to alter sequence increment. * Assume that the sequence exists. */ public void alterIncrement(AbstractSession session, Writer schemaWriter) throws ValidationException { if (schemaWriter == null) { this.alterOnDatabase(session); } else { this.buildAlterIncrementWriter(session, schemaWriter); } }
/** * INTERNAL: * Execute the SQL required to alter sequence increment. * Assume that the sequence exists. */ public void alterOnDatabase(AbstractSession session) throws EclipseLinkException { // Bug# 242120: Let the DatabaseException propagate and do not call // createOnDatabase(session) which would cause an infinite loop on a JTA connection session.priviledgedExecuteNonSelectingCall(new SQLCall(buildAlterIncrementWriter(session, new StringWriter()).toString())); }
/** * INTERNAL: * Execute the SQL required to alter sequence increment. * Assume that the sequence exists. */ public void alterOnDatabase(AbstractSession session) throws EclipseLinkException { // Bug# 242120: Let the DatabaseException propagate and do not call // createOnDatabase(session) which would cause an infinite loop on a JTA connection session.priviledgedExecuteNonSelectingCall(new SQLCall(buildAlterIncrementWriter(session, new StringWriter()).toString())); }
/** * INTERNAL: * Execute the SQL required to alter sequence increment. * Assume that the sequence exists. */ public void alterOnDatabase(AbstractSession session) throws EclipseLinkException { // Bug# 242120: Let the DatabaseException propagate and do not call // createOnDatabase(session) which would cause an infinite loop on a JTA connection session.executeNonSelectingCall(new SQLCall(buildAlterIncrementWriter(session, new StringWriter()).toString())); }