Uses of Interface
org.hibernate.Criteria

Packages that use Criteria
org.hibernate This package defines the central Hibernate APIs. 
org.hibernate.criterion A framework for defining restriction criteria and order criteria. 
org.hibernate.envers.revisioninfo   
org.hibernate.internal An internal package containing mostly implementations of central Hibernate APIs. 
org.hibernate.loader.criteria This package defines the criteria query compiler and loader 
 

Uses of Criteria in org.hibernate
 

Methods in org.hibernate that return Criteria
 Criteria Criteria.add(Criterion criterion)
          Add a restriction to constrain the results to be retrieved.
 Criteria Criteria.addOrder(Order order)
          Add an ordering to the result set.
 Criteria Criteria.createAlias(String associationPath, String alias)
          Join an association, assigning an alias to the joined association.
 Criteria Criteria.createAlias(String associationPath, String alias, int joinType)
          Deprecated. use createAlias(String, String, org.hibernate.sql.JoinType)
 Criteria Criteria.createAlias(String associationPath, String alias, int joinType, Criterion withClause)
          Deprecated. use createAlias(String, String, JoinType, Criterion)
 Criteria Criteria.createAlias(String associationPath, String alias, JoinType joinType)
          Join an association using the specified join-type, assigning an alias to the joined association.
 Criteria Criteria.createAlias(String associationPath, String alias, JoinType joinType, Criterion withClause)
          Join an association using the specified join-type, assigning an alias to the joined association.
 Criteria SharedSessionContract.createCriteria(Class persistentClass)
          Create Criteria instance for the given class (entity or subclasses/implementors)
 Criteria SharedSessionContract.createCriteria(Class persistentClass, String alias)
          Create Criteria instance for the given class (entity or subclasses/implementors), using a specific alias.
 Criteria Criteria.createCriteria(String associationPath)
          Create a new Criteria, "rooted" at the associated entity.
 Criteria SharedSessionContract.createCriteria(String entityName)
          Create Criteria instance for the given entity name.
 Criteria Criteria.createCriteria(String associationPath, int joinType)
          Deprecated. use createAlias(String, String, org.hibernate.sql.JoinType)
 Criteria Criteria.createCriteria(String associationPath, JoinType joinType)
          Create a new Criteria, "rooted" at the associated entity, using the specified join type.
 Criteria Criteria.createCriteria(String associationPath, String alias)
          Create a new Criteria, "rooted" at the associated entity, assigning the given alias.
 Criteria SharedSessionContract.createCriteria(String entityName, String alias)
          Create Criteria instance for the given entity name, using a specific alias.
 Criteria Criteria.createCriteria(String associationPath, String alias, int joinType)
          Deprecated. use createCriteria(String, org.hibernate.sql.JoinType)
 Criteria Criteria.createCriteria(String associationPath, String alias, int joinType, Criterion withClause)
          Deprecated. use createCriteria(String, String, org.hibernate.sql.JoinType, org.hibernate.criterion.Criterion)
 Criteria Criteria.createCriteria(String associationPath, String alias, JoinType joinType)
          Create a new Criteria, "rooted" at the associated entity, assigning the given alias and using the specified join type.
 Criteria Criteria.createCriteria(String associationPath, String alias, JoinType joinType, Criterion withClause)
          Create a new Criteria, "rooted" at the associated entity, assigning the given alias and using the specified join type.
 Criteria Criteria.setCacheable(boolean cacheable)
          Enable caching of this query result, provided query caching is enabled for the underlying session factory.
 Criteria Criteria.setCacheMode(CacheMode cacheMode)
          Override the cache mode for this particular query.
 Criteria Criteria.setCacheRegion(String cacheRegion)
          Set the name of the cache region to use for query result caching.
 Criteria Criteria.setComment(String comment)
          Add a comment to the generated SQL.
 Criteria Criteria.setFetchMode(String associationPath, FetchMode mode)
          Specify an association fetching strategy for an association or a collection of values.
 Criteria Criteria.setFetchSize(int fetchSize)
          Set a fetch size for the underlying JDBC query.
 Criteria Criteria.setFirstResult(int firstResult)
          Set the first result to be retrieved.
 Criteria Criteria.setFlushMode(FlushMode flushMode)
          Override the flush mode for this particular query.
 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.setMaxResults(int maxResults)
          Set a limit upon the number of objects to be retrieved.
 Criteria Criteria.setProjection(Projection projection)
          Used to specify that the query results will be a projection (scalar in nature).
 Criteria Criteria.setReadOnly(boolean readOnly)
          Set the read-only/modifiable mode for entities and proxies loaded by this Criteria.
 Criteria Criteria.setResultTransformer(ResultTransformer resultTransformer)
          Set a strategy for handling the query results.
 Criteria Criteria.setTimeout(int timeout)
          Set a timeout for the underlying JDBC query.
 

Uses of Criteria in org.hibernate.criterion
 

Methods in org.hibernate.criterion that return Criteria
 Criteria DetachedCriteria.getExecutableCriteria(Session session)
          Get an executable instance of Criteria, to actually run the query.
 

Methods in org.hibernate.criterion with parameters of type Criteria
protected  void Example.addComponentTypedValues(String path, Object component, CompositeType type, List list, Criteria criteria, CriteriaQuery criteriaQuery)
           
protected  void Example.appendComponentCondition(String path, Object component, CompositeType type, Criteria criteria, CriteriaQuery criteriaQuery, StringBuilder buf)
           
protected  void Example.appendPropertyCondition(String propertyName, Object propertyValue, Criteria criteria, CriteriaQuery cq, StringBuilder buf)
           
protected  List CountProjection.buildFunctionParameterList(Criteria criteria, CriteriaQuery criteriaQuery)
           
protected  List AggregateProjection.buildFunctionParameterList(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String[] CriteriaQuery.findColumns(String propertyPath, Criteria criteria)
          Get the names of the columns mapped by a property path; if the property path is not found in criteria, try the "outer" query.
 String CriteriaQuery.getColumn(Criteria criteria, String propertyPath)
          Get the names of the columns mapped by a property path, ignoring projection aliases
 String[] AliasedProjection.getColumnAliases(int loc, Criteria criteria, CriteriaQuery criteriaQuery)
           
 String[] Distinct.getColumnAliases(int loc, Criteria criteria, CriteriaQuery criteriaQuery)
           
 String[] ProjectionList.getColumnAliases(int loc, Criteria criteria, CriteriaQuery criteriaQuery)
           
 String[] SimpleProjection.getColumnAliases(int loc, Criteria criteria, CriteriaQuery criteriaQuery)
           
 String[] EnhancedProjection.getColumnAliases(int position, Criteria criteria, CriteriaQuery criteriaQuery)
          Get the SQL column aliases used by this projection for the columns it writes for inclusion into the SELECT clause (Projection.toSqlString(org.hibernate.Criteria, int, org.hibernate.criterion.CriteriaQuery).
 String[] AliasedProjection.getColumnAliases(String alias, int loc, Criteria criteria, CriteriaQuery criteriaQuery)
           
 String[] Distinct.getColumnAliases(String alias, int loc, Criteria criteria, CriteriaQuery criteriaQuery)
           
 String[] ProjectionList.getColumnAliases(String alias, int loc, Criteria criteria, CriteriaQuery criteriaQuery)
           
 String[] SimpleProjection.getColumnAliases(String alias, int loc, Criteria criteria, CriteriaQuery criteriaQuery)
           
 String[] EnhancedProjection.getColumnAliases(String alias, int position, Criteria criteria, CriteriaQuery criteriaQuery)
          Get the SQL column aliases used by this projection for the columns it writes for inclusion into the SELECT clause (Projection.toSqlString(org.hibernate.Criteria, int, org.hibernate.criterion.CriteriaQuery) for a particular criteria-level alias.
 int SimpleProjection.getColumnCount(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String[] CriteriaQuery.getColumns(String propertyPath, Criteria criteria)
          Get the names of the columns mapped by a property path, ignoring projection aliases
 String[] CriteriaQuery.getColumnsUsingProjection(Criteria criteria, String propertyPath)
          Get the names of the columns mapped by a property path
 String CriteriaQuery.getEntityName(Criteria criteria)
          Get the entity name of an entity
 String CriteriaQuery.getEntityName(Criteria criteria, String propertyPath)
          Get the entity name of an entity, taking into account the qualifier of the property path
 String[] CriteriaQuery.getIdentifierColumns(Criteria subcriteria)
          Get the identifier column names of this entity
 Type CriteriaQuery.getIdentifierType(Criteria subcriteria)
          Get the identifier type of this entity
 String CriteriaQuery.getSQLAlias(Criteria subcriteria)
          Get the root table alias of an entity
 String CriteriaQuery.getSQLAlias(Criteria criteria, String propertyPath)
          Get the root table alias of an entity, taking into account the qualifier of the property path
 Type CriteriaQuery.getType(Criteria criteria, String propertyPath)
          Get the type of a property path, ignoring projection aliases
 TypedValue CriteriaQuery.getTypedIdentifierValue(Criteria subcriteria, Object value)
           
 TypedValue CriteriaQuery.getTypedValue(Criteria criteria, String propertyPath, Object value)
          Get the a typed value for the given property value.
 TypedValue[] NotExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] IdentifierEqExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] Criterion.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
          Return typed values for all parameters in the rendered SQL fragment
 TypedValue[] LikeExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] IlikeExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
          Deprecated.  
 TypedValue[] SubqueryExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] InExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] BetweenExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] Junction.getTypedValues(Criteria crit, CriteriaQuery criteriaQuery)
           
 TypedValue[] AbstractEmptinessExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] NaturalIdentifier.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] NullExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] SimpleSubqueryExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] SQLCriterion.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] Example.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] PropertyExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] SizeExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] LogicalExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] NotNullExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 TypedValue[] SimpleExpression.getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] AliasedProjection.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] Distinct.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] SQLProjection.getTypes(Criteria crit, CriteriaQuery criteriaQuery)
           
 Type[] Projection.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
          Types returned by the rendered SQL fragment.
 Type[] AggregateProjection.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
          Types returned by the rendered SQL fragment.
 Type[] IdentifierProjection.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] ProjectionList.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] RowCountProjection.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] PropertyProjection.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] AliasedProjection.getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] Distinct.getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] SQLProjection.getTypes(String alias, Criteria crit, CriteriaQuery criteriaQuery)
           
 Type[] Projection.getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery)
          Get the return types for a particular user-visible alias.
 Type[] ProjectionList.getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] SimpleProjection.getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type CriteriaQuery.getTypeUsingProjection(Criteria criteria, String propertyPath)
          Get the type of a property path
 String AliasedProjection.toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String Distinct.toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String SQLProjection.toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String Projection.toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
          Render the SQL fragment to be used in the GROUP BY clause
 String IdentifierProjection.toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String ProjectionList.toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String PropertyProjection.toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String SimpleProjection.toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
protected  String ExistsSubqueryExpression.toLeftSqlString(Criteria criteria, CriteriaQuery outerQuery)
           
protected  String PropertiesSubqueryExpression.toLeftSqlString(Criteria criteria, CriteriaQuery outerQuery)
           
protected abstract  String SubqueryExpression.toLeftSqlString(Criteria criteria, CriteriaQuery outerQuery)
           
protected  String SimpleSubqueryExpression.toLeftSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
protected  String PropertySubqueryExpression.toLeftSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String NotExpression.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String IdentifierEqExpression.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String Criterion.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
          Render the SQL fragment
 String LikeExpression.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String IlikeExpression.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
          Deprecated.  
 String SubqueryExpression.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String InExpression.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String BetweenExpression.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String Junction.toSqlString(Criteria crit, CriteriaQuery criteriaQuery)
           
 String AbstractEmptinessExpression.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String NaturalIdentifier.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String NullExpression.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String SQLCriterion.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String Example.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String PropertyExpression.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String SizeExpression.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String LogicalExpression.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String NotNullExpression.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String SimpleExpression.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
           
 String Order.toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
          Render the SQL fragment
 String AliasedProjection.toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)
           
 String Distinct.toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)
           
 String SQLProjection.toSqlString(Criteria criteria, int loc, CriteriaQuery criteriaQuery)
           
 String Projection.toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)
          Render the SQL fragment to be used in the SELECT clause.
 String AggregateProjection.toSqlString(Criteria criteria, int loc, CriteriaQuery criteriaQuery)
          Render the SQL fragment to be used in the SELECT clause.
 String IdentifierProjection.toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)
           
 String ProjectionList.toSqlString(Criteria criteria, int loc, CriteriaQuery criteriaQuery)
           
 String RowCountProjection.toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)
           
 String PropertyProjection.toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)
           
 

Constructors in org.hibernate.criterion with parameters of type Criteria
DetachedCriteria(CriteriaImpl impl, Criteria criteria)
           
 

Uses of Criteria in org.hibernate.envers.revisioninfo
 

Methods in org.hibernate.envers.revisioninfo that return Criteria
 Criteria RevisionInfoQueryCreator.getRevisionDateQuery(Session session, Number revision)
           
 Criteria RevisionInfoQueryCreator.getRevisionNumberForDateQuery(Session session, Date date)
           
 Criteria RevisionInfoQueryCreator.getRevisionsQuery(Session session, Set<Number> revisions)
           
 

Uses of Criteria in org.hibernate.internal
 

Classes in org.hibernate.internal that implement Criteria
 class CriteriaImpl
          Implementation of the Criteria interface
 class CriteriaImpl.Subcriteria
           
 

Methods in org.hibernate.internal that return Criteria
 Criteria CriteriaImpl.add(Criteria criteriaInst, Criterion expression)
           
 Criteria CriteriaImpl.add(Criterion expression)
           
 Criteria CriteriaImpl.Subcriteria.add(Criterion expression)
           
 Criteria CriteriaImpl.addOrder(Order ordering)
           
 Criteria CriteriaImpl.Subcriteria.addOrder(Order order)
           
 Criteria CriteriaImpl.createAlias(String associationPath, String alias)
           
 Criteria CriteriaImpl.Subcriteria.createAlias(String associationPath, String alias)
           
 Criteria CriteriaImpl.createAlias(String associationPath, String alias, int joinType)
           
 Criteria CriteriaImpl.Subcriteria.createAlias(String associationPath, String alias, int joinType)
           
 Criteria CriteriaImpl.createAlias(String associationPath, String alias, int joinType, Criterion withClause)
           
 Criteria CriteriaImpl.Subcriteria.createAlias(String associationPath, String alias, int joinType, Criterion withClause)
           
 Criteria CriteriaImpl.createAlias(String associationPath, String alias, JoinType joinType)
           
 Criteria CriteriaImpl.Subcriteria.createAlias(String associationPath, String alias, JoinType joinType)
           
 Criteria CriteriaImpl.createAlias(String associationPath, String alias, JoinType joinType, Criterion withClause)
           
 Criteria CriteriaImpl.Subcriteria.createAlias(String associationPath, String alias, JoinType joinType, Criterion withClause)
           
 Criteria StatelessSessionImpl.createCriteria(Class persistentClass)
           
 Criteria SessionImpl.createCriteria(Class persistentClass)
           
 Criteria StatelessSessionImpl.createCriteria(Class persistentClass, String alias)
           
 Criteria SessionImpl.createCriteria(Class persistentClass, String alias)
           
 Criteria StatelessSessionImpl.createCriteria(String entityName)
           
 Criteria CriteriaImpl.createCriteria(String associationPath)
           
 Criteria CriteriaImpl.Subcriteria.createCriteria(String associationPath)
           
 Criteria SessionImpl.createCriteria(String entityName)
           
 Criteria CriteriaImpl.createCriteria(String associationPath, int joinType)
           
 Criteria CriteriaImpl.Subcriteria.createCriteria(String associationPath, int joinType)
           
 Criteria CriteriaImpl.createCriteria(String associationPath, JoinType joinType)
           
 Criteria CriteriaImpl.Subcriteria.createCriteria(String associationPath, JoinType joinType)
           
 Criteria StatelessSessionImpl.createCriteria(String entityName, String alias)
           
 Criteria CriteriaImpl.createCriteria(String associationPath, String alias)
           
 Criteria CriteriaImpl.Subcriteria.createCriteria(String associationPath, String alias)
           
 Criteria SessionImpl.createCriteria(String entityName, String alias)
           
 Criteria CriteriaImpl.createCriteria(String associationPath, String alias, int joinType)
           
 Criteria CriteriaImpl.Subcriteria.createCriteria(String associationPath, String alias, int joinType)
           
 Criteria CriteriaImpl.createCriteria(String associationPath, String alias, int joinType, Criterion withClause)
           
 Criteria CriteriaImpl.Subcriteria.createCriteria(String associationPath, String alias, int joinType, Criterion withClause)
           
 Criteria CriteriaImpl.createCriteria(String associationPath, String alias, JoinType joinType)
           
 Criteria CriteriaImpl.Subcriteria.createCriteria(String associationPath, String alias, JoinType joinType)
           
 Criteria CriteriaImpl.createCriteria(String associationPath, String alias, JoinType joinType, Criterion withClause)
           
 Criteria CriteriaImpl.Subcriteria.createCriteria(String associationPath, String alias, JoinType joinType, Criterion withClause)
           
 Criteria CriteriaImpl.CriterionEntry.getCriteria()
           
 Criteria CriteriaImpl.OrderEntry.getCriteria()
           
 Criteria CriteriaImpl.Subcriteria.getParent()
           
 Criteria CriteriaImpl.getProjectionCriteria()
           
 Criteria CriteriaImpl.setCacheable(boolean cacheable)
           
 Criteria CriteriaImpl.Subcriteria.setCacheable(boolean cacheable)
           
 Criteria CriteriaImpl.setCacheMode(CacheMode cacheMode)
           
 Criteria CriteriaImpl.Subcriteria.setCacheMode(CacheMode cacheMode)
           
 Criteria CriteriaImpl.setCacheRegion(String cacheRegion)
           
 Criteria CriteriaImpl.Subcriteria.setCacheRegion(String cacheRegion)
           
 Criteria CriteriaImpl.setComment(String comment)
           
 Criteria CriteriaImpl.Subcriteria.setComment(String comment)
           
 Criteria CriteriaImpl.setFetchMode(String associationPath, FetchMode mode)
           
 Criteria CriteriaImpl.Subcriteria.setFetchMode(String associationPath, FetchMode mode)
           
 Criteria CriteriaImpl.setFetchSize(int fetchSize)
           
 Criteria CriteriaImpl.Subcriteria.setFetchSize(int fetchSize)
           
 Criteria CriteriaImpl.setFirstResult(int firstResult)
           
 Criteria CriteriaImpl.Subcriteria.setFirstResult(int firstResult)
           
 Criteria CriteriaImpl.setFlushMode(FlushMode flushMode)
           
 Criteria CriteriaImpl.Subcriteria.setFlushMode(FlushMode flushMode)
           
 Criteria CriteriaImpl.setLockMode(LockMode lockMode)
           
 Criteria CriteriaImpl.Subcriteria.setLockMode(LockMode lockMode)
           
 Criteria CriteriaImpl.setLockMode(String alias, LockMode lockMode)
           
 Criteria CriteriaImpl.Subcriteria.setLockMode(String alias, LockMode lockMode)
           
 Criteria CriteriaImpl.setMaxResults(int maxResults)
           
 Criteria CriteriaImpl.Subcriteria.setMaxResults(int maxResults)
           
 Criteria CriteriaImpl.setProjection(Projection projection)
           
 Criteria CriteriaImpl.Subcriteria.setProjection(Projection projection)
           
 Criteria CriteriaImpl.setReadOnly(boolean readOnly)
          Set the read-only/modifiable mode for entities and proxies loaded by this Criteria.
 Criteria CriteriaImpl.Subcriteria.setReadOnly(boolean readOnly)
           
 Criteria CriteriaImpl.setResultTransformer(ResultTransformer tupleMapper)
           
 Criteria CriteriaImpl.Subcriteria.setResultTransformer(ResultTransformer resultProcessor)
           
 Criteria CriteriaImpl.setTimeout(int timeout)
           
 Criteria CriteriaImpl.Subcriteria.setTimeout(int timeout)
           
 

Methods in org.hibernate.internal with parameters of type Criteria
 Criteria CriteriaImpl.add(Criteria criteriaInst, Criterion expression)
           
 

Uses of Criteria in org.hibernate.loader.criteria
 

Methods in org.hibernate.loader.criteria that return Criteria
 Criteria CriteriaQueryTranslator.getCriteria(String path)
           
 

Methods in org.hibernate.loader.criteria with parameters of type Criteria
 String[] CriteriaQueryTranslator.findColumns(String propertyName, Criteria subcriteria)
          Get the names of the columns mapped by a property path; if the property path is not found in subcriteria, try the "outer" query.
 String CriteriaQueryTranslator.getColumn(Criteria criteria, String propertyName)
           
 String[] CriteriaQueryTranslator.getColumns(String propertyName, Criteria subcriteria)
           
 String[] CriteriaQueryTranslator.getColumnsUsingProjection(Criteria subcriteria, String propertyName)
          Get the names of the columns constrained by this criterion.
 String CriteriaQueryTranslator.getEntityName(Criteria criteria)
           
 String CriteriaQueryTranslator.getEntityName(Criteria subcriteria, String propertyName)
           
 String[] CriteriaQueryTranslator.getIdentifierColumns(Criteria subcriteria)
           
 Type CriteriaQueryTranslator.getIdentifierType(Criteria subcriteria)
           
 String CriteriaQueryTranslator.getSQLAlias(Criteria criteria)
           
 String CriteriaQueryTranslator.getSQLAlias(Criteria criteria, String propertyName)
           
 Type CriteriaQueryTranslator.getType(Criteria subcriteria, String propertyName)
           
 TypedValue CriteriaQueryTranslator.getTypedIdentifierValue(Criteria subcriteria, Object value)
           
 TypedValue CriteriaQueryTranslator.getTypedValue(Criteria subcriteria, String propertyName, Object value)
          Get the a typed value for the given property value.
 Type CriteriaQueryTranslator.getTypeUsingProjection(Criteria subcriteria, String propertyName)
           
 



Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.