Class 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 class IdentifiableSequenceStyleGenerator is custom implementation of SequenceStyleGenerator 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
      • 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
    • 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
      • 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 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
    • Constructor Detail

      • IdentifiableSequenceStyleGenerator

        public IdentifiableSequenceStyleGenerator()
    • Method Detail

      • generate

        public java.io.Serializable generate​(org.hibernate.engine.spi.SessionImplementor session,
                                             java.lang.Object object)