Class LogEntrySequenceGenerator

java.lang.Object
org.hibernate.id.enhanced.SequenceStyleGenerator
org.nuxeo.ecm.platform.audit.impl.LogEntrySequenceGenerator
All Implemented Interfaces:
Serializable, org.hibernate.boot.model.relational.ExportableProducer, org.hibernate.generator.BeforeExecutionGenerator, org.hibernate.generator.Generator, org.hibernate.id.BulkInsertionCapableIdentifierGenerator, org.hibernate.id.Configurable, org.hibernate.id.factory.spi.StandardGenerator, org.hibernate.id.IdentifierGenerator, org.hibernate.id.OptimizableGenerator, org.hibernate.id.PersistentIdentifierGenerator

@Deprecated(since="2025.19", forRemoval=true) public class LogEntrySequenceGenerator extends org.hibernate.id.enhanced.SequenceStyleGenerator
Deprecated, for removal: This API element is subject to removal in a future version.
since 2025.19, this generator is used to disable the Hibernate sequencer and leverage one from Audit service
Since:
2025.19
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Fields inherited from class org.hibernate.id.enhanced.SequenceStyleGenerator

    ALT_SEQUENCE_PARAM, CONFIG_SEQUENCE_PER_ENTITY_SUFFIX, DEF_SEQUENCE_SUFFIX, DEF_VALUE_COLUMN, FORCE_TBL_PARAM, SEQUENCE_PARAM, VALUE_COLUMN_PARAM

    Fields inherited from interface org.hibernate.id.IdentifierGenerator

    CONTRIBUTOR_NAME, ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAME

    Fields inherited from interface org.hibernate.id.OptimizableGenerator

    DEFAULT_INCREMENT_SIZE, DEFAULT_INITIAL_VALUE, IMPLICIT_NAME_BASE, INCREMENT_PARAM, INITIAL_PARAM, OPT_PARAM

    Fields inherited from interface org.hibernate.id.PersistentIdentifierGenerator

    CATALOG, IDENTIFIER_NORMALIZER, PK, SCHEMA, TABLE, TABLES
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class org.hibernate.id.enhanced.SequenceStyleGenerator

    buildDatabaseStructure, buildSequenceStructure, buildTableStructure, configure, determineAdjustedIncrementSize, determineBulkInsertionIdentifierGenerationSelectFragment, determineIncrementSize, determineInitialValue, determineOptimizationStrategy, determineSequenceName, determineValueColumnName, 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.generator.BeforeExecutionGenerator

    generatedOnExecution

    Methods inherited from interface org.hibernate.generator.Generator

    allowAssignedIdentifiers, generatedOnExecution, generatesOnInsert, generatesOnUpdate, generatesSometimes

    Methods inherited from interface org.hibernate.id.IdentifierGenerator

    generate, getEventTypes, supportsJdbcBatchInserts
  • Field Details

    • USE_NUXEO_SEQUENCER_PROPERTY

      public static final String USE_NUXEO_SEQUENCER_PROPERTY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • LogEntrySequenceGenerator

      public LogEntrySequenceGenerator()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • generate

      public Object generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object) throws org.hibernate.HibernateException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      generate in interface org.hibernate.id.IdentifierGenerator
      Overrides:
      generate in class org.hibernate.id.enhanced.SequenceStyleGenerator
      Throws:
      org.hibernate.HibernateException