public class IdOverrideTableGenerator
extends org.hibernate.id.enhanced.TableGenerator
| Modifier and Type | Field and Description | 
|---|---|
| static int | DEFAULT_INCREMENT_SIZE | 
| static String | DEFAULT_SEGMENT_COLUMN_NAME | 
| static String | DEFAULT_TABLE_NAME | 
| static String | DEFAULT_VALUE_COLUMN_NAME | 
| static String | ENTITY_NAME_PARAM | 
CONFIG_PREFER_SEGMENT_PER_ENTITY, DEF_SEGMENT_COLUMN, DEF_SEGMENT_LENGTH, DEF_SEGMENT_VALUE, DEF_TABLE, DEF_VALUE_COLUMN, DEFAULT_INITIAL_VALUE, INCREMENT_PARAM, INITIAL_PARAM, OPT_PARAM, SEGMENT_COLUMN_PARAM, SEGMENT_LENGTH_PARAM, SEGMENT_VALUE_PARAM, TABLE_PARAM, VALUE_COLUMN_PARAM| Constructor and Description | 
|---|
| IdOverrideTableGenerator() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | configure(org.hibernate.type.Type type,
         Properties params,
         org.hibernate.service.ServiceRegistry registry) | 
| Serializable | generate(org.hibernate.engine.spi.SharedSessionContractImplementor session,
        Object obj) | 
| String | getEntityName() | 
| void | setEntityName(String entityName) | 
buildInsertQuery, buildSelectQuery, buildUpdateQuery, determineDefaultSegmentValue, determineGeneratorTableName, determineIncrementSize, determineInitialValue, determineSegmentColumnName, determineSegmentColumnSize, determineSegmentValue, determineValueColumnName, generateInsertInitCommand, generatorKey, getIdentifierType, getIncrementSize, getInitialValue, getOptimizer, getSegmentColumnName, getSegmentValue, getSegmentValueLength, getTableAccessCount, getTableName, getValueColumnName, registerExportables, sqlCreateStrings, sqlDropStringspublic static final String ENTITY_NAME_PARAM
public static final String DEFAULT_TABLE_NAME
public static final String DEFAULT_SEGMENT_COLUMN_NAME
public static final String DEFAULT_VALUE_COLUMN_NAME
public static final int DEFAULT_INCREMENT_SIZE
public Serializable generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object obj)
generate in interface org.hibernate.id.IdentifierGeneratorgenerate in class org.hibernate.id.enhanced.TableGeneratorpublic void configure(org.hibernate.type.Type type,
                      Properties params,
                      org.hibernate.service.ServiceRegistry registry)
               throws org.hibernate.MappingException
configure in interface org.hibernate.id.Configurableconfigure in class org.hibernate.id.enhanced.TableGeneratororg.hibernate.MappingExceptionpublic String getEntityName()
public void setEntityName(String entityName)
Copyright © 2020. All rights reserved.