Package org.hibernate.reactive.id.impl
Class ReactiveCompositeNestedGeneratedValueGenerator
java.lang.Object
org.hibernate.id.CompositeNestedGeneratedValueGenerator
org.hibernate.reactive.id.impl.ReactiveCompositeNestedGeneratedValueGenerator
- All Implemented Interfaces:
Serializable,org.hibernate.boot.model.relational.ExportableProducer,org.hibernate.generator.BeforeExecutionGenerator,org.hibernate.generator.Generator,org.hibernate.id.Configurable,org.hibernate.id.IdentifierGenerator,org.hibernate.id.IdentifierGeneratorAggregator,ReactiveIdentifierGenerator<Object>
public class ReactiveCompositeNestedGeneratedValueGenerator
extends org.hibernate.id.CompositeNestedGeneratedValueGenerator
implements ReactiveIdentifierGenerator<Object>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hibernate.id.CompositeNestedGeneratedValueGenerator
org.hibernate.id.CompositeNestedGeneratedValueGenerator.GenerationContextLocator, org.hibernate.id.CompositeNestedGeneratedValueGenerator.GenerationPlan -
Field Summary
Fields inherited from interface org.hibernate.id.IdentifierGenerator
CONTRIBUTOR_NAME, ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAME -
Constructor Summary
ConstructorsConstructorDescriptionReactiveCompositeNestedGeneratedValueGenerator(org.hibernate.id.CompositeNestedGeneratedValueGenerator generator, org.hibernate.generator.GeneratorCreationContext creationContext, org.hibernate.metamodel.spi.RuntimeModelCreationContext runtimeModelCreationContext) -
Method Summary
Modifier and TypeMethodDescriptiongenerate(ReactiveConnectionSupplier reactiveConnectionSupplier, Object object) Returns a generated identifier, via aCompletionStage.Methods inherited from class org.hibernate.id.CompositeNestedGeneratedValueGenerator
addGeneratedValuePlan, generate, getCompositeType, getGenerationContextLocator, getGenerationPlans, initialize, registerExportablesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.generator.BeforeExecutionGenerator
generatedOnExecutionMethods inherited from interface org.hibernate.id.Configurable
configureMethods inherited from interface org.hibernate.generator.Generator
allowAssignedIdentifiers, allowMutation, generatedBeforeExecution, generatedOnExecution, generatesOnForceIncrement, generatesOnInsert, generatesOnUpdate, generatesSometimesMethods inherited from interface org.hibernate.id.IdentifierGenerator
configure, generate, getEventTypesMethods inherited from interface org.hibernate.reactive.id.ReactiveIdentifierGenerator
generate
-
Constructor Details
-
ReactiveCompositeNestedGeneratedValueGenerator
public ReactiveCompositeNestedGeneratedValueGenerator(org.hibernate.id.CompositeNestedGeneratedValueGenerator generator, org.hibernate.generator.GeneratorCreationContext creationContext, org.hibernate.metamodel.spi.RuntimeModelCreationContext runtimeModelCreationContext)
-
-
Method Details
-
generate
public CompletionStage<Object> generate(ReactiveConnectionSupplier reactiveConnectionSupplier, Object object) Description copied from interface:ReactiveIdentifierGeneratorReturns a generated identifier, via aCompletionStage.- Specified by:
generatein interfaceReactiveIdentifierGenerator<Object>- Parameters:
reactiveConnectionSupplier- the reactive session
-