Class TsidGenerator

java.lang.Object
io.hypersistence.utils.hibernate.id.TsidGenerator
All Implemented Interfaces:
org.hibernate.boot.model.relational.ExportableProducer, org.hibernate.id.Configurable, org.hibernate.id.IdentifierGenerator

public class TsidGenerator extends Object implements org.hibernate.id.IdentifierGenerator
Author:
Vlad Mihalcea
  • Field Summary

    Fields inherited from interface org.hibernate.id.IdentifierGenerator

    CONTRIBUTOR_NAME, ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
    TsidGenerator(Tsid config, Member idMember, org.hibernate.id.factory.spi.CustomIdGeneratorCreationContext creationContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object)
     

    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

    configure, initialize, registerExportables, supportsJdbcBatchInserts
  • Constructor Details

    • TsidGenerator

      public TsidGenerator(Tsid config, Member idMember, org.hibernate.id.factory.spi.CustomIdGeneratorCreationContext creationContext)
  • Method Details

    • generate

      public Object generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object) throws org.hibernate.HibernateException
      Specified by:
      generate in interface org.hibernate.id.IdentifierGenerator
      Throws:
      org.hibernate.HibernateException