public abstract class MutinyValueGenerator<T> extends Object implements org.hibernate.tuple.ValueGenerator<T>
ValueGenerator
that gives access to a Mutiny.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.
StageValueGenerator
Constructor and Description |
---|
MutinyValueGenerator() |
Modifier and Type | Method and Description |
---|---|
abstract io.smallrye.mutiny.Uni<T> |
generateValue(Mutiny.Session session,
Object owner) |
T |
generateValue(org.hibernate.Session session,
Object owner) |
Copyright © 2020-2022 Red Hat, Inc. All Rights Reserved.