Class CollectionLoader
- java.lang.Object
-
- org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader
-
- org.hibernate.loader.collection.plan.AbstractLoadPlanBasedCollectionInitializer
-
- org.hibernate.loader.collection.plan.CollectionLoader
-
- All Implemented Interfaces:
CollectionInitializer
public class CollectionLoader extends AbstractLoadPlanBasedCollectionInitializer
Superclass for loaders that initialize collections- See Also:
OneToManyLoader,BasicCollectionLoader
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classCollectionLoader.Builder
-
Constructor Summary
Constructors Constructor Description CollectionLoader(QueryableCollection collectionPersister, QueryBuildingParameters buildingParameters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidautoDiscoverTypes(java.sql.ResultSet rs)static CollectionLoader.BuilderforCollection(QueryableCollection collectionPersister)protected TypegetKeyType()protected int[]getNamedParameterLocs(java.lang.String name)java.lang.StringtoString()-
Methods inherited from class org.hibernate.loader.collection.plan.AbstractLoadPlanBasedCollectionInitializer
collectionPersister, getStaticLoadQuery, initialize
-
-
-
-
Constructor Detail
-
CollectionLoader
public CollectionLoader(QueryableCollection collectionPersister, QueryBuildingParameters buildingParameters)
-
-
Method Detail
-
forCollection
public static CollectionLoader.Builder forCollection(QueryableCollection collectionPersister)
-
getNamedParameterLocs
protected int[] getNamedParameterLocs(java.lang.String name)
- Overrides:
getNamedParameterLocsin classAbstractLoadPlanBasedCollectionInitializer
-
autoDiscoverTypes
protected void autoDiscoverTypes(java.sql.ResultSet rs)
- Overrides:
autoDiscoverTypesin classAbstractLoadPlanBasedCollectionInitializer
-
getKeyType
protected Type getKeyType()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-