public interface TableIdGenerator extends IdGenerator
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Initializes this generator.
|
void |
setAllocationSize(long allocationSize)
Sets the allocation size.
|
void |
setInitialValue(long initialValue)
Sets the initial value.
|
void |
setPkColumnName(java.lang.String pkColumnName)
Sets the column name of the primary key.
|
void |
setPkColumnValue(java.lang.String pkColumnValue)
Sets the column value of the primary key.
|
void |
setQualifiedTableName(java.lang.String qualifiedTableName)
Sets the qualified name of the table.
|
void |
setValueColumnName(java.lang.String valueColumnName)
Sets the column name of the identity value.
|
generatePostInsert, generatePreInsert, getGenerationType, includesIdentityColumn, supportsAutoGeneratedKeys, supportsBatchvoid setQualifiedTableName(java.lang.String qualifiedTableName)
qualifiedTableName - the qualified name of the tablevoid setInitialValue(long initialValue)
initialValue - the initial valuevoid setAllocationSize(long allocationSize)
allocationSize - the allocation sizevoid setPkColumnName(java.lang.String pkColumnName)
pkColumnName - the column name of the primary keyvoid setPkColumnValue(java.lang.String pkColumnValue)
pkColumnValue - the column value of the primary keyvoid setValueColumnName(java.lang.String valueColumnName)
valueColumnName - the column name of the identity valuevoid initialize()
JdbcException - if the initialization is failed