public abstract class StageValueGenerator<T> extends Object implements org.hibernate.tuple.ValueGenerator<T>
ValueGenerator
that gives access to a Stage.Session
.
This class needs to extend ValueGenerator
but the non reactive method is ignored by
Hibernate Reactive and it will throw an UnsupportedOperationException
if called.
MutinyValueGenerator
Constructor and Description |
---|
StageValueGenerator() |
Modifier and Type | Method and Description |
---|---|
T |
generateValue(org.hibernate.Session session,
Object owner) |
abstract CompletionStage<T> |
generateValue(Stage.Session session,
Object owner) |
public final T generateValue(org.hibernate.Session session, Object owner)
generateValue
in interface org.hibernate.tuple.ValueGenerator<T>
public abstract CompletionStage<T> generateValue(Stage.Session session, Object owner)
Copyright © 2020-2022 Red Hat, Inc. All Rights Reserved.