This implementation is not compliant with a user connection
Allowed parameters (all of them are optional):
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final int | |
| public static final String | |
| private static final String | |
| private OptimizerFactory. | |
| public static final String | |
| private String | |
| private int | |
| private static final Logger | |
| public static final String | |
| private int | |
| public static final String | |
| public static final String | |
| public static final String | |
| private String | |
| private String | |
| private Class | |
| private String | |
| private String | |
| public static final String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | configure(Type type, Properties
param values, keyed by parameter name params, Dialect dialect)Implements org. |
| public Serializable | doWorkInCurrentTransaction(Connection conn, String sql)
Implements abstract org. |
| public synchronized Serializable | generate(final SessionImplementor session, Object
the entity or toplevel collection for which the id is being generated obj)Implements org. |
| public Object | generatorKey()
Implements org. |
| public String[] | sqlCreateStrings(Dialect
The dialect against which to generate the create command(s) dialect)Implements org. |
| public String[] | sqlDropStrings(Dialect
The dialect against which to generate the drop command(s) dialect)Implements org. |
| DEFAULT_PK_COLUMN | back to summary |
|---|---|
| private static final String DEFAULT_PK_COLUMN | |
| DEFAULT_PK_LENGTH | back to summary |
|---|---|
| private static final int DEFAULT_PK_LENGTH | |
| DEFAULT_TABLE | back to summary |
|---|---|
| public static final String DEFAULT_TABLE | |
| DEFAULT_VALUE_COLUMN | back to summary |
|---|---|
| private static final String DEFAULT_VALUE_COLUMN | |
| hiloOptimizer | back to summary |
|---|---|
| private OptimizerFactory. | |
| ID_TABLE | back to summary |
|---|---|
| public static final String ID_TABLE | |
| insert | back to summary |
|---|---|
| private String insert | |
| keySize | back to summary |
|---|---|
| private int keySize | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| MAX_LO | back to summary |
|---|---|
| public static final String MAX_LO | |
| maxLo | back to summary |
|---|---|
| private int maxLo | |
| PK_COLUMN_NAME | back to summary |
|---|---|
| public static final String PK_COLUMN_NAME | |
| PK_LENGTH_NAME | back to summary |
|---|---|
| public static final String PK_LENGTH_NAME | |
| PK_VALUE_NAME | back to summary |
|---|---|
| public static final String PK_VALUE_NAME | |
| pkColumnName | back to summary |
|---|---|
| private String pkColumnName | |
| query | back to summary |
|---|---|
| private String query | |
| returnClass | back to summary |
|---|---|
| private Class<T> returnClass | |
| tableName | back to summary |
|---|---|
| private String tableName | |
| update | back to summary |
|---|---|
| private String update | |
| VALUE_COLUMN_NAME | back to summary |
|---|---|
| public static final String VALUE_COLUMN_NAME | |
| valueColumnName | back to summary |
|---|---|
| private String valueColumnName | |
| MultipleHiLoPerTableGenerator | back to summary |
|---|---|
| public MultipleHiLoPerTableGenerator() | |
| configure | back to summary |
|---|---|
| public void configure(Type type, Properties params, Dialect dialect) throws MappingException Implements org. Doc from org. Configure this instance, given the value of parameters specified by the user as <param> elements. This method is called just once, following instantiation.
| |
| doWorkInCurrentTransaction | back to summary |
|---|---|
| public Serializable doWorkInCurrentTransaction(Connection conn, String sql) throws SQLException Implements abstract org. Doc from org. The work to be done | |
| generate | back to summary |
|---|---|
| public synchronized Serializable generate(final SessionImplementor session, Object obj) throws HibernateException Implements org. Doc from org. Generate a new identifier.
| |
| generatorKey | back to summary |
|---|---|
| public Object generatorKey() Implements org. Doc from org. Return a key unique to the underlying database objects. Prevents us from trying to create/remove them multiple times.
| |
| sqlCreateStrings | back to summary |
|---|---|
| public String[] sqlCreateStrings(Dialect dialect) throws HibernateException Implements org. Doc from org. The SQL required to create the underlying database objects.
| |
| sqlDropStrings | back to summary |
|---|---|
| public String[] sqlDropStrings(Dialect dialect) throws HibernateException Implements org. Doc from org. The SQL required to remove the underlying database objects.
| |