public static class ERXSequence.DatabaseSequence extends ERXSequence
ERXSequence.DatabaseSequence, ERXSequence.NativeDatabaseSequence, ERXSequence.PrimaryKeySequence
_lastValue, _maxValue, log
Constructor and Description |
---|
DatabaseSequence(EOEditingContext ec,
String modelName,
String name) |
DatabaseSequence(EOEditingContext ec,
String modelName,
String name,
long initialValue) |
Modifier and Type | Method and Description |
---|---|
protected ERXJDBCConnectionBroker |
broker() |
protected long |
createRow(Connection con,
long increment) |
protected void |
createTable(Connection con) |
protected long |
increasedMaxValue(long increment) |
protected boolean |
isCreationError(SQLException ex) |
protected long |
selectAndUpdateValue(Connection con,
long increment) |
createDatabaseSequenceWithName, createSequenceWithName, increment, lastValue, maxValue, name, nextValue, nextValue, registerSequenceWithName, sequenceWithName
public DatabaseSequence(EOEditingContext ec, String modelName, String name, long initialValue)
public DatabaseSequence(EOEditingContext ec, String modelName, String name)
protected ERXJDBCConnectionBroker broker()
protected long selectAndUpdateValue(Connection con, long increment) throws SQLException
SQLException
protected long createRow(Connection con, long increment) throws SQLException
SQLException
protected void createTable(Connection con) throws SQLException
SQLException
protected long increasedMaxValue(long increment)
increasedMaxValue
in class ERXSequence
protected boolean isCreationError(SQLException ex)
Copyright © 2002 – 2024 Project Wonder.