SubselectCollectionLoaderpublic class SubselectCollectionLoader extends BasicCollectionLoader Implements subselect fetching for a collection |
Fields Summary |
---|
private final Serializable[] | keys | private final org.hibernate.type.Type[] | types | private final Object[] | values | private final Map | namedParameters | private final Map | namedParameterLocMap |
Constructors Summary |
---|
public SubselectCollectionLoader(org.hibernate.persister.collection.QueryableCollection persister, String subquery, Collection entityKeys, org.hibernate.engine.QueryParameters queryParameters, Map namedParameterLocMap, org.hibernate.engine.SessionFactoryImplementor factory, Map enabledFilters)
super(persister, 1, subquery, factory, enabledFilters);
keys = new Serializable[ entityKeys.size() ];
Iterator iter = entityKeys.iterator();
int i=0;
while ( iter.hasNext() ) {
keys[i++] = ( (EntityKey) iter.next() ).getIdentifier();
}
this.namedParameters = queryParameters.getNamedParameters();
this.types = queryParameters.getFilteredPositionalParameterTypes();
this.values = queryParameters.getFilteredPositionalParameterValues();
this.namedParameterLocMap = namedParameterLocMap;
|
|