站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

Uses of Interface net.sf.hibernate.Criteria (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


Uses of Interface
net.sf.hibernate.Criteria

Packages that use Criteria
net.sf.hibernate   
net.sf.hibernate.impl   
net.sf.hibernate.jca   
 

Uses of Criteria in net.sf.hibernate
 

Methods in net.sf.hibernate that return Criteria
 Criteria Session.createCriteria(Class persistentClass)
          Create a new Criteria instance, for the given entity class.
 Criteria Criteria.setMaxResults(int maxResults)
          Set a limit upon the number of objects to be retrieved.
 Criteria Criteria.setFirstResult(int firstResult)
          Set the first result to be retrieved.
 Criteria Criteria.setFetchSize(int fetchSize)
          Set a fetch size for the underlying JDBC query.
 Criteria Criteria.setTimeout(int timeout)
          Set a timeout for the underlying JDBC query.
 Criteria Criteria.add(Criterion criterion)
          Add a Criterion to constrain the results to be retrieved.
 Criteria Criteria.addOrder(Order order)
          Add an Order to the result set.
 Criteria Criteria.setFetchMode(String associationPath, FetchMode mode)
          Specify an association fetching strategy for a one-to-many, many-to-one or one-to-one association, or for a collection of values.
 Criteria Criteria.createAlias(String associationPath, String alias)
          Join an association, assigning an alias to the joined entity
 Criteria Criteria.createCriteria(String associationPath)
          Create a new Criteria, "rooted" at the associated entity
 Criteria Criteria.createCriteria(String associationPath, String alias)
          Create a new Criteria, "rooted" at the associated entity, assigning the given alias
 Criteria Criteria.returnMaps()
          Deprecated. use setResultTransformer(Criteria.ALIAS_TO_ENTITY_MAP)
 Criteria Criteria.returnRootEntities()
          Deprecated. use setResultTransformer(Criteria.ROOT_ENTITY)
 Criteria Criteria.setResultTransformer(ResultTransformer resultTransformer)
          Set a strategy for handling the query results.
 Criteria Criteria.setLockMode(LockMode lockMode)
          Set the lock mode of the current entity
 Criteria Criteria.setLockMode(String alias, LockMode lockMode)
          Set the lock mode of the aliased entity
 Criteria Criteria.setCacheable(boolean cacheable)
          Enable caching of this query result set
 Criteria Criteria.setCacheRegion(String cacheRegion)
          Set the name of the cache region.
 

Uses of Criteria in net.sf.hibernate.impl
 

Classes in net.sf.hibernate.impl that implement Criteria
 class CriteriaImpl
          Implementation of the Criteria interface
 class CriteriaImpl.Subcriteria
           
 

Methods in net.sf.hibernate.impl that return Criteria
 Criteria SessionImpl.createCriteria(Class persistentClass)
           
 Criteria CriteriaImpl.setMaxResults(int maxResults)
           
 Criteria CriteriaImpl.setFirstResult(int firstResult)
           
 Criteria CriteriaImpl.setTimeout(int timeout)
           
 Criteria CriteriaImpl.setFetchSize(int fetchSize)
           
 Criteria CriteriaImpl.add(Criterion expression)
           
 Criteria CriteriaImpl.addOrder(Order ordering)
           
 Criteria CriteriaImpl.setFetchMode(String associationPath, FetchMode mode)
           
 Criteria CriteriaImpl.createAlias(String associationPath, String alias)
           
 Criteria CriteriaImpl.add(String alias, Criterion expression)
           
 Criteria CriteriaImpl.createCriteria(String associationPath)
           
 Criteria CriteriaImpl.createCriteria(String associationPath, String alias)
           
 Criteria CriteriaImpl.returnMaps()
           
 Criteria CriteriaImpl.returnRootEntities()
           
 Criteria CriteriaImpl.setLockMode(LockMode lockMode)
           
 Criteria CriteriaImpl.setLockMode(String alias, LockMode lockMode)
           
 Criteria CriteriaImpl.setResultTransformer(ResultTransformer tupleMapper)
           
 Criteria CriteriaImpl.setCacheable(boolean cacheable)
           
 Criteria CriteriaImpl.setCacheRegion(String cacheRegion)
           
 Criteria CriteriaImpl.Subcriteria.add(Criterion expression)
           
 Criteria CriteriaImpl.Subcriteria.createAlias(String associationPath, String alias)
           
 Criteria CriteriaImpl.Subcriteria.addOrder(Order order)
           
 Criteria CriteriaImpl.Subcriteria.createCriteria(String associationPath)
           
 Criteria CriteriaImpl.Subcriteria.setFetchMode(String associationPath, FetchMode mode)
           
 Criteria CriteriaImpl.Subcriteria.setFirstResult(int firstResult)
           
 Criteria CriteriaImpl.Subcriteria.setMaxResults(int maxResults)
           
 Criteria CriteriaImpl.Subcriteria.setTimeout(int timeout)
           
 Criteria CriteriaImpl.Subcriteria.setFetchSize(int fetchSize)
           
 Criteria CriteriaImpl.Subcriteria.createCriteria(String associationPath, String alias)
           
 Criteria CriteriaImpl.Subcriteria.returnMaps()
           
 Criteria CriteriaImpl.Subcriteria.returnRootEntities()
           
 Criteria CriteriaImpl.Subcriteria.setLockMode(LockMode lockMode)
           
 Criteria CriteriaImpl.Subcriteria.setLockMode(String alias, LockMode lockMode)
           
 Criteria CriteriaImpl.Subcriteria.setResultTransformer(ResultTransformer resultProcessor)
           
 Criteria CriteriaImpl.Subcriteria.setCacheable(boolean cacheable)
           
 Criteria CriteriaImpl.Subcriteria.setCacheRegion(String cacheRegion)
           
 

Uses of Criteria in net.sf.hibernate.jca
 

Methods in net.sf.hibernate.jca that return Criteria
 Criteria JCASessionImpl.createCriteria(Class persistentClass)