org.hibernate.loader.criteria
Class CriteriaLoader
public class CriteriaLoader
A Loader for Criteria queries. Note that criteria queries are
more like multi-object load()s than like HQL queries.
getAliases, getCollectionOwners, getCollectionPersisters, getCollectionSuffixes, getDialect, getEnabledFilters, getEntityPersisters, getLockModes, getOwnerAssociationTypes, getOwners, getSQLString, getSuffixes, initFromWalker |
applyLocks, autoDiscoverTypes, bindNamedParameters, bindParameterValues, bindPositionalParameters, checkScrollability, doList, getAliases, getCollectionAliases, getCollectionOwners, getCollectionPersisters, getEntityAliases, getEntityEagerPropertyFetches, getEntityPersisters, getFactory, getLockModes, getNamedParameterLocs, getOwnerAssociationTypes, getOwners, getQueryIdentifier, getResultColumnOrRow, getResultList, getResultSet, getSQLString, hasSubselectLoadableCollections, isSingleRowLoader, isSubselectLoadingEnabled, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, postInstantiate, prepareQueryStatement, preprocessSQL, scroll, toString, upgradeLocks |
applyLocks
protected String applyLocks(String sqlSelectString,
Map lockModes,
Dialect dialect)
throws QueryException Append FOR UPDATE OF clause, if necessary. This
empty superclass implementation merely returns its first
argument.
- applyLocks in interface Loader
getLockModes
protected LockMode[] getLockModes(Map lockModes)
What lock mode does this load entities with?
- getLockModes in interface OuterJoinLoader
lockModes - a collection of lock modes specified dynamically via the Query interface
getQuerySpaces
public Set getQuerySpaces()
getResultColumnOrRow
protected Object getResultColumnOrRow(Object[] row,
ResultTransformer transformer,
ResultSet rs,
SessionImplementor session)
throws SQLException,
HibernateException Get the actual object that is returned in the user-visible result list.
This empty implementation merely returns its first argument. This is
overridden by some subclasses.
- getResultColumnOrRow in interface Loader