Class IdentifiableSequenceStyleGenerator
- java.lang.Object
-
- org.hibernate.id.enhanced.SequenceStyleGenerator
-
- io.github.astrapi69.hibernate.generator.IdentifiableSequenceStyleGenerator
-
- All Implemented Interfaces:
org.hibernate.boot.model.relational.ExportableProducer
,org.hibernate.id.BulkInsertionCapableIdentifierGenerator
,org.hibernate.id.Configurable
,org.hibernate.id.IdentifierGenerator
,org.hibernate.id.PersistentIdentifierGenerator
public class IdentifiableSequenceStyleGenerator extends org.hibernate.id.enhanced.SequenceStyleGenerator
The classIdentifiableSequenceStyleGenerator
is custom implementation ofSequenceStyleGenerator
that can be used in the GenericGenerator
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
STRATEGY_CLASS_NAME
The Constant for the fully qualified class name that can be used in the GenericGenerator for the strategy attribute-
Fields inherited from class org.hibernate.id.enhanced.SequenceStyleGenerator
CONFIG_PREFER_SEQUENCE_PER_ENTITY, CONFIG_SEQUENCE_PER_ENTITY_SUFFIX, DEF_SEQUENCE_NAME, DEF_SEQUENCE_SUFFIX, DEF_VALUE_COLUMN, DEFAULT_INCREMENT_SIZE, DEFAULT_INITIAL_VALUE, FORCE_TBL_PARAM, INCREMENT_PARAM, INITIAL_PARAM, OPT_PARAM, SEQUENCE_PARAM, VALUE_COLUMN_PARAM
-
-
Constructor Summary
Constructors Constructor Description IdentifiableSequenceStyleGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.Serializable
generate(org.hibernate.engine.spi.SessionImplementor session, java.lang.Object object)
-
Methods inherited from class org.hibernate.id.enhanced.SequenceStyleGenerator
buildDatabaseStructure, buildSequenceStructure, buildTableStructure, configure, determineAdjustedIncrementSize, determineBulkInsertionIdentifierGenerationSelectFragment, determineIncrementSize, determineInitialValue, determineOptimizationStrategy, determineSequenceName, determineValueColumnName, generate, getDatabaseStructure, getIdentifierType, getOptimizer, initialize, isPhysicalSequence, registerExportables, supportsBulkInsertionIdentifierGeneration
-
-
-
-
Field Detail
-
STRATEGY_CLASS_NAME
public static final java.lang.String STRATEGY_CLASS_NAME
The Constant for the fully qualified class name that can be used in the GenericGenerator for the strategy attribute- See Also:
- Constant Field Values
-
-