public class ReactivePlanEntityLoader extends AbstractLoadPlanBasedEntityLoader implements ReactiveUniqueEntityLoader, ReactiveLoader
javax.persistence.EntityGraph
in effect.AbstractLoadPlanBasedEntityLoader
Modifier and Type | Class and Description |
---|---|
static class | ReactivePlanEntityLoader.Builder |
Modifier and Type | Method and Description |
---|---|
ReactiveResultSetProcessor | getReactiveResultSetProcessor() |
protected EntityLoadQueryDetails | getStaticLoadQuery() |
CompletionStage<Object> | load(Serializable id, Object optionalObject, SharedSessionContractImplementor session) |
CompletionStage<Object> | load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, Boolean readOnly) |
CompletionStage<Object> | load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions) |
CompletionStage<Object> | load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly) |
String | preprocessSQL(String sql, QueryParameters queryParameters, SessionFactoryImplementor factory, List<AfterLoadAction> afterLoadActions) Used by query loaders to add stuff like locking and hints/comments |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
discoverTypes, doReactiveQueryAndInitializeNonLazyCollections, doReactiveQueryAndInitializeNonLazyCollections, executeReactiveQueryStatement, limitHandler, reactiveProcessResultSet, toParameterArray
protected EntityLoadQueryDetails getStaticLoadQuery()
public CompletionStage<Object> load(Serializable id, Object optionalObject, SharedSessionContractImplementor session)
load
in interface ReactiveUniqueEntityLoader
public CompletionStage<Object> load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, Boolean readOnly)
load
in interface ReactiveUniqueEntityLoader
public CompletionStage<Object> load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)
load
in interface ReactiveUniqueEntityLoader
public CompletionStage<Object> load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)
load
in interface ReactiveUniqueEntityLoader
public ReactiveResultSetProcessor getReactiveResultSetProcessor()
getReactiveResultSetProcessor
in interface ReactiveLoader
public String preprocessSQL(String sql, QueryParameters queryParameters, SessionFactoryImplementor factory, List<AfterLoadAction> afterLoadActions)
ReactiveLoader
preprocessSQL
in interface ReactiveLoader
org.hibernate.loader.Loader#preprocessSQL(String, QueryParameters, SessionFactoryImplementor, List)