Class Overview
Utility methods to manipulate entity engine database sequences.
Summary
Public Methods |
void
|
update(Connection connection, String sequenceName, String tableName)
Update the sequence value for the next id to use for this table.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
void
update
(Connection connection, String sequenceName, String tableName)
Update the sequence value for the next id to use for this table.
Parameters
connection
| The database connection to use to update the sequence. |
sequenceName
| The name of the sequence to update. |
tableName
| The name of the table that uses the value of the sequence for its primary key. The column which
stores the PK is assumed to be named "id" |
Protected Methods
protected
String
convertToSchemaTableName
(String tableName)
protected
GenericDelegator
getDelegator
()