Class TurUuidGenerator

java.lang.Object
org.hibernate.id.uuid.UuidGenerator
com.viglet.turing.spring.jpa.TurUuidGenerator
All Implemented Interfaces:
Serializable, org.hibernate.generator.BeforeExecutionGenerator, org.hibernate.generator.Generator

public class TurUuidGenerator extends org.hibernate.id.uuid.UuidGenerator
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    TurUuidGenerator(TurUuid 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 owner, Object currentValue, org.hibernate.generator.EventType eventType)
     

    Methods inherited from class org.hibernate.id.uuid.UuidGenerator

    getEventTypes, getValueGenerator, getValueTransformer

    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
  • Constructor Details

    • TurUuidGenerator

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

    • generate

      public Serializable generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner, Object currentValue, org.hibernate.generator.EventType eventType)
      Specified by:
      generate in interface org.hibernate.generator.BeforeExecutionGenerator
      Overrides:
      generate in class org.hibernate.id.uuid.UuidGenerator