Package org.hibernate.engine.spi
Class SubselectFetch
java.lang.Object
org.hibernate.engine.spi.SubselectFetch
Encapsulates details related to entities which contain sub-select-fetchable
collections and which were loaded in a Session so that those collections may
be sub-select fetched later during initialization
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static class
-
Constructor Summary
ConstructorsConstructorDescriptionSubselectFetch
(QuerySpec loadingSqlAst, TableGroup ownerTableGroup, JdbcParametersList loadingJdbcParameters, JdbcParameterBindings loadingJdbcParameterBindings, Set<EntityKey> resultingEntityKeys) -
Method Summary
Modifier and TypeMethodDescriptioncreateRegistrationHandler
(BatchFetchQueue batchFetchQueue, SelectStatement sqlAst, TableGroup tableGroup, JdbcParametersList jdbcParameters, JdbcParameterBindings jdbcParameterBindings) createRegistrationHandler
(BatchFetchQueue batchFetchQueue, SelectStatement sqlAst, JdbcParametersList jdbcParameters, JdbcParameterBindings jdbcParameterBindings) The JDBC parameter bindings related togetLoadingSqlAst()
for the specific execution that loaded the ownersThe SQL AST select from which the owner was loadedThe TableGroup for the owner within thegetLoadingSqlAst()
The entity-keys of all owners loaded from a particular executiontoString()
-
Constructor Details
-
SubselectFetch
public SubselectFetch(QuerySpec loadingSqlAst, TableGroup ownerTableGroup, JdbcParametersList loadingJdbcParameters, JdbcParameterBindings loadingJdbcParameterBindings, Set<EntityKey> resultingEntityKeys)
-
-
Method Details
-
getLoadingJdbcParameters
-
getLoadingSqlAst
The SQL AST select from which the owner was loaded -
getOwnerTableGroup
The TableGroup for the owner within thegetLoadingSqlAst()
-
getLoadingJdbcParameterBindings
The JDBC parameter bindings related togetLoadingSqlAst()
for the specific execution that loaded the owners -
getResultingEntityKeys
The entity-keys of all owners loaded from a particular executionUsed for "empty collection" handling mostly
-
toString
-
createRegistrationHandler
public static SubselectFetch.RegistrationHandler createRegistrationHandler(BatchFetchQueue batchFetchQueue, SelectStatement sqlAst, TableGroup tableGroup, JdbcParametersList jdbcParameters, JdbcParameterBindings jdbcParameterBindings) -
createRegistrationHandler
public static SubselectFetch.RegistrationHandler createRegistrationHandler(BatchFetchQueue batchFetchQueue, SelectStatement sqlAst, JdbcParametersList jdbcParameters, JdbcParameterBindings jdbcParameterBindings)
-