Class CustomSubselectCollectionLoader
java.lang.Object
org.hibernate.loader.Loader
org.hibernate.loader.BasicLoader
org.hibernate.loader.OuterJoinLoader
org.hibernate.loader.collection.CollectionLoader
org.hibernate.loader.collection.BasicCollectionLoader
org.hibernate.loader.collection.SubselectCollectionLoader
com.blazebit.persistence.integration.hibernate.CustomSubselectCollectionLoader
- All Implemented Interfaces:
org.hibernate.loader.collection.CollectionInitializer
public class CustomSubselectCollectionLoader
extends org.hibernate.loader.collection.SubselectCollectionLoader
- Since:
- 1.2.0
- Author:
- Jan-Willem Gmelig Meyling
-
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
ConstructorsConstructorDescriptionCustomSubselectCollectionLoader(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.SubselectCollectionLoader
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
-
CustomSubselectCollectionLoader
public CustomSubselectCollectionLoader(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