Java org.hibernate.criterion DetachedCriteria fields, constructors, methods, implement or subclass

Example usage for Java org.hibernate.criterion DetachedCriteria fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.hibernate.criterion DetachedCriteria.

The text is from its open source code.

Subclass

org.hibernate.criterion.DetachedCriteria has subclasses.
Click this link to see all its subclasses.

Method

DetachedCriteriaadd(Criterion criterion)
Add a restriction
DetachedCriteriaaddOrder(Order order)
Adds an ordering
DetachedCriteriacreateAlias(String associationPath, String alias)
Creates an association path alias within this DetachedCriteria.
DetachedCriteriacreateAlias(String associationPath, String alias, JoinType joinType)
Creates an association path alias within this DetachedCriteria specifying the type of join.
DetachedCriteriacreateAlias(String associationPath, String alias, int joinType)
Deprecated!
DetachedCriteriacreateCriteria(String associationPath)
Creates a nested DetachedCriteria representing the association path.
DetachedCriteriacreateCriteria(String associationPath, String alias, JoinType joinType)
Creates a nested DetachedCriteria representing the association path, specifying the type of join to use.
DetachedCriteriacreateCriteria(String associationPath, String alias, int joinType)
Deprecated!
DetachedCriteriacreateCriteria(String associationPath, String alias)
Creates a nested DetachedCriteria representing the association path.
DetachedCriteriacreateCriteria(String associationPath, JoinType joinType)
Creates a nested DetachedCriteria representing the association path, specifying the type of join to use.
DetachedCriteriacreateCriteria(String associationPath, int joinType)
Deprecated!
DetachedCriteriaforClass(Class clazz)
Static builder to create a DetachedCriteria for the given entity, by its Class.
DetachedCriteriaforClass(Class clazz, String alias)
Static builder to create a DetachedCriteria for the given entity, by its Class.
DetachedCriteriaforEntityName(String entityName)
Static builder to create a DetachedCriteria for the given entity.
DetachedCriteriaforEntityName(String entityName, String alias)
Static builder to create a DetachedCriteria for the given entity.
StringgetAlias()
Obtain the alias associated with this DetachedCriteria
CriteriagetExecutableCriteria(Session session)
Get an executable instance of Criteria to actually run the query.
DetachedCriteriasetFetchMode(String associationPath, FetchMode mode)
Set the fetch mode for a given association
DetachedCriteriasetProjection(Projection projection)
Set the projection to use.
DetachedCriteriasetResultTransformer(ResultTransformer resultTransformer)
Set the result transformer to use.
StringtoString()