Class StageGenerator

java.lang.Object
org.hibernate.reactive.tuple.StageGenerator
All Implemented Interfaces:
Serializable, org.hibernate.generator.BeforeExecutionGenerator, org.hibernate.generator.Generator

@Incubating public abstract class StageGenerator extends Object implements org.hibernate.generator.BeforeExecutionGenerator
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner, Object currentValue, org.hibernate.generator.EventType eventType)
     
    generate(Stage.Session session, Object owner, Object currentValue, org.hibernate.generator.EventType eventType)
     

    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, allowMutation, generatedBeforeExecution, generatedOnExecution, generatesOnForceIncrement, generatesOnInsert, generatesOnUpdate, generatesSometimes, getEventTypes
  • Constructor Details

    • StageGenerator

      public StageGenerator()
  • Method Details

    • generate

      public Object 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
    • generate

      public abstract CompletionStage<Object> generate(Stage.Session session, Object owner, Object currentValue, org.hibernate.generator.EventType eventType)