Class CustomSubselectOneToManyLoader
java.lang.Object
org.hibernate.loader.Loader
org.hibernate.loader.BasicLoader
org.hibernate.loader.OuterJoinLoader
org.hibernate.loader.collection.CollectionLoader
org.hibernate.loader.collection.OneToManyLoader
org.hibernate.loader.collection.SubselectOneToManyLoader
com.blazebit.persistence.integration.hibernate.CustomSubselectOneToManyLoader
- All Implemented Interfaces:
org.hibernate.loader.collection.CollectionInitializer
public class CustomSubselectOneToManyLoader
extends org.hibernate.loader.collection.SubselectOneToManyLoader
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hibernate.loader.Loader
org.hibernate.loader.Loader.SqlStatementWrapper -
Field Summary
Fields inherited from class org.hibernate.loader.OuterJoinLoader
aliases, collectionOwners, collectionPersisters, collectionSuffixes, lockModeArray, ownerAssociationTypes, owners, persisters, sql, suffixesFields inherited from class org.hibernate.loader.BasicLoader
NO_SUFFIXFields inherited from class org.hibernate.loader.Loader
SELECT, SELECT_DISTINCT -
Constructor Summary
ConstructorsConstructorDescriptionCustomSubselectOneToManyLoader(org.hibernate.persister.collection.QueryableCollection persister, String subquery, Collection entityKeys, org.hibernate.engine.spi.QueryParameters queryParameters, Map<String, int[]> namedParameterLocMap, org.hibernate.engine.spi.SessionFactoryImplementor factory, org.hibernate.engine.spi.LoadQueryInfluencers loadQueryInfluencers) -
Method Summary
Modifier and TypeMethodDescriptionprotected intbindParameterValues(PreparedStatement statement, org.hibernate.engine.spi.QueryParameters queryParameters, int startIndex, org.hibernate.engine.spi.SharedSessionContractImplementor session) Methods inherited from class org.hibernate.loader.collection.SubselectOneToManyLoader
getNamedParameterLocs, initializeMethods inherited from class org.hibernate.loader.collection.CollectionLoader
collectionPersister, getKeyType, isSubselectLoadingEnabled, toStringMethods inherited from class org.hibernate.loader.OuterJoinLoader
getAliases, getCollectionOwners, getCollectionPersisters, getCollectionSuffixes, getDialect, getEntityPersisters, getLoadQueryInfluencers, getLockModes, getLockOptions, getOwnerAssociationTypes, getOwners, getSQLString, getSuffixes, initFromWalkerMethods inherited from class org.hibernate.loader.BasicLoader
generateSuffixes, generateSuffixes, getCollectionAliases, getEntityAliases, postInstantiateMethods inherited from class org.hibernate.loader.Loader
applyLocks, applyPostLoadLocks, areResultSetRowsTransformedImmediately, autoDiscoverTypes, bindNamedParameters, bindPositionalParameters, bindPreparedStatement, checkScrollability, createCacheableResultTransformer, createSubselects, determineFollowOnLockMode, doList, doQueryAndInitializeNonLazyCollections, doQueryAndInitializeNonLazyCollections, endCollectionLoad, executeQueryStatement, executeQueryStatement, extractKeysFromResultSet, generateQueryKey, getCompositeKeyManyToOneTargetIndices, getEntityEagerPerPropertyFetches, getEntityEagerPropertyFetches, getEntityPersister, getFactory, getLimitHandler, getOptionalObjectKey, getQueryIdentifier, getResultColumnOrRow, getResultFromQueryCache, getResultList, getResultRow, getResultRowAliases, getResultSet, getResultSet, getRowsFromResultSet, handleEmptyCollections, hasSubselectLoadableCollections, includeInResultRow, instanceAlreadyLoaded, instanceNotYetLoaded, isSingleRowLoader, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, prepareQueryStatement, preprocessResultSet, preprocessSQL, processDistinctKeyword, processResultSet, putResultInQueryCache, registerNonExists, resolveResultTransformer, scroll, shouldUseFollowOnLocking, upgradeLocks
-
Constructor Details
-
CustomSubselectOneToManyLoader
public CustomSubselectOneToManyLoader(org.hibernate.persister.collection.QueryableCollection persister, String subquery, Collection entityKeys, org.hibernate.engine.spi.QueryParameters queryParameters, Map<String, int[]> namedParameterLocMap, org.hibernate.engine.spi.SessionFactoryImplementor factory, org.hibernate.engine.spi.LoadQueryInfluencers loadQueryInfluencers) throws org.hibernate.MappingException- Throws:
org.hibernate.MappingException
-
-
Method Details