Class IdOverrideTableGenerator
java.lang.Object
org.hibernate.id.enhanced.TableGenerator
org.broadleafcommerce.common.persistence.IdOverrideTableGenerator
- All Implemented Interfaces:
org.hibernate.boot.model.relational.ExportableProducer
,org.hibernate.id.Configurable
,org.hibernate.id.IdentifierGenerator
,org.hibernate.id.PersistentIdentifierGenerator
public class IdOverrideTableGenerator
extends org.hibernate.id.enhanced.TableGenerator
- Author:
- Jeff Fischer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final String
static final String
static final String
static final String
Fields inherited from class org.hibernate.id.enhanced.TableGenerator
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
Fields inherited from interface org.hibernate.id.IdentifierGenerator
ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAME
Fields inherited from interface org.hibernate.id.PersistentIdentifierGenerator
CATALOG, IDENTIFIER_NORMALIZER, PK, SCHEMA, TABLE, TABLES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(org.hibernate.type.Type type, Properties params, org.hibernate.service.ServiceRegistry registry) protected Field
getIdField
(Class<?> clazz) void
setEntityName
(String entityName) Methods inherited from class org.hibernate.id.enhanced.TableGenerator
buildInsertQuery, buildSelectQuery, buildUpdateQuery, determineDefaultSegmentValue, determineGeneratorTableName, determineIncrementSize, determineInitialValue, determineSegmentColumnName, determineSegmentColumnSize, determineSegmentValue, determineValueColumnName, generateInsertInitCommand, generatorKey, getAllSqlForTests, getIdentifierType, getIncrementSize, getInitialValue, getOptimizer, getSegmentColumnName, getSegmentValue, getSegmentValueLength, getTableAccessCount, getTableName, getValueColumnName, initialize, registerExportables
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.id.IdentifierGenerator
supportsJdbcBatchInserts
-
Field Details
-
ENTITY_NAME_PARAM
- See Also:
-
DEFAULT_TABLE_NAME
- See Also:
-
DEFAULT_SEGMENT_COLUMN_NAME
- See Also:
-
DEFAULT_VALUE_COLUMN_NAME
- See Also:
-
DEFAULT_INCREMENT_SIZE
public static final int DEFAULT_INCREMENT_SIZE- See Also:
-
-
Constructor Details
-
IdOverrideTableGenerator
public IdOverrideTableGenerator()
-
-
Method Details
-
getIdField
-
configure
public void configure(org.hibernate.type.Type type, Properties params, org.hibernate.service.ServiceRegistry registry) throws org.hibernate.MappingException - Specified by:
configure
in interfaceorg.hibernate.id.Configurable
- Specified by:
configure
in interfaceorg.hibernate.id.IdentifierGenerator
- Overrides:
configure
in classorg.hibernate.id.enhanced.TableGenerator
- Throws:
org.hibernate.MappingException
-
getEntityName
-
setEntityName
-