| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private boolean | |
| private final int | |
| private final int | |
| private static final Logger | |
| private final Class | |
| private final String | |
| private static final SQLStatementLogger | |
| private final String | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | TableStructure(Dialect dialect, String tableName, String valueColumnName, int initialValue, int incrementSize, Class<T> numberType)
|
| Modifier and Type | Method and Description |
|---|---|
| public AccessCallback | buildCallback(final SessionImplementor
The session. session)Implements org. |
| protected Serializable | doWorkInCurrentTransaction(Connection conn, String sql)
Implements abstract org. |
| public int | getIncrementSize()
Implements org. |
| public int | getInitialValue()
Implements org. |
| public String | getName()
Implements org. |
| public int | getTimesAccessed()
Implements org. |
| public void | prepare(Optimizer
The optimizer being applied to the generator. optimizer)Implements org. |
| public String[] | sqlCreateStrings(Dialect
The database dialect being used. dialect)Implements org. |
| public String[] | sqlDropStrings(Dialect
The database dialect being used. dialect)Implements org. |
| accessCounter | back to summary |
|---|---|
| private int accessCounter | |
| applyIncrementSizeToSourceValues | back to summary |
|---|---|
| private boolean applyIncrementSizeToSourceValues | |
| incrementSize | back to summary |
|---|---|
| private final int incrementSize | |
| initialValue | back to summary |
|---|---|
| private final int initialValue | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| numberType | back to summary |
|---|---|
| private final Class<T> numberType | |
| selectQuery | back to summary |
|---|---|
| private final String selectQuery | |
| SQL_STATEMENT_LOGGER | back to summary |
|---|---|
| private static final SQLStatementLogger SQL_STATEMENT_LOGGER | |
| tableName | back to summary |
|---|---|
| private final String tableName | |
| updateQuery | back to summary |
|---|---|
| private final String updateQuery | |
| valueColumnName | back to summary |
|---|---|
| private final String valueColumnName | |
| TableStructure | back to summary |
|---|---|
| public TableStructure(Dialect dialect, String tableName, String valueColumnName, int initialValue, int incrementSize, Class<T> numberType) | |
| buildCallback | back to summary |
|---|---|
| public AccessCallback buildCallback(final SessionImplementor session) Implements org. Doc from org. A callback to be able to get the next value from the underlying structure as needed.
| |
| doWorkInCurrentTransaction | back to summary |
|---|---|
| protected Serializable doWorkInCurrentTransaction(Connection conn, String sql) throws SQLException Implements abstract org. Doc from org. The work to be done | |
| getIncrementSize | back to summary |
|---|---|
| public int getIncrementSize() Implements org. Doc from org. The configured increment size
| |
| getInitialValue | back to summary |
|---|---|
| public int getInitialValue() Implements org. Doc from org. The configured initial value
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. The name of the database structure (table or sequence).
| |
| getTimesAccessed | back to summary |
|---|---|
| public int getTimesAccessed() Implements org. Doc from org. How many times has this structure been accessed through this reference?
| |
| prepare | back to summary |
|---|---|
| public void prepare(Optimizer optimizer) Implements org. Doc from org. Prepare this structure for use. Called sometime after instantiation, but before first use.
| |
| sqlCreateStrings | back to summary |
|---|---|
| public String[] sqlCreateStrings(Dialect dialect) throws HibernateException Implements org. Doc from org. Commands needed to create the underlying structures. | |
| sqlDropStrings | back to summary |
|---|---|
| public String[] sqlDropStrings(Dialect dialect) throws HibernateException Implements org. Doc from org. Commands needed to drop the underlying structures. | |