Example usage for Java org.hibernate.criterion DetachedCriteria fields, constructors, methods, implement or subclass
The text is from its open source code.
DetachedCriteria | add(Criterion criterion) Add a restriction |
DetachedCriteria | addOrder(Order order) Adds an ordering |
DetachedCriteria | createAlias(String associationPath, String alias) Creates an association path alias within this DetachedCriteria. |
DetachedCriteria | createAlias(String associationPath, String alias, JoinType joinType) Creates an association path alias within this DetachedCriteria specifying the type of join. |
DetachedCriteria | createAlias(String associationPath, String alias, int joinType) Deprecated! |
DetachedCriteria | createCriteria(String associationPath) Creates a nested DetachedCriteria representing the association path. |
DetachedCriteria | createCriteria(String associationPath, String alias, JoinType joinType) Creates a nested DetachedCriteria representing the association path, specifying the type of join to use. |
DetachedCriteria | createCriteria(String associationPath, String alias, int joinType) Deprecated! |
DetachedCriteria | createCriteria(String associationPath, String alias) Creates a nested DetachedCriteria representing the association path. |
DetachedCriteria | createCriteria(String associationPath, JoinType joinType) Creates a nested DetachedCriteria representing the association path, specifying the type of join to use. |
DetachedCriteria | createCriteria(String associationPath, int joinType) Deprecated! |
DetachedCriteria | forClass(Class clazz) Static builder to create a DetachedCriteria for the given entity, by its Class. |
DetachedCriteria | forClass(Class clazz, String alias) Static builder to create a DetachedCriteria for the given entity, by its Class. |
DetachedCriteria | forEntityName(String entityName) Static builder to create a DetachedCriteria for the given entity. |
DetachedCriteria | forEntityName(String entityName, String alias) Static builder to create a DetachedCriteria for the given entity. |
String | getAlias() Obtain the alias associated with this DetachedCriteria |
Criteria | getExecutableCriteria(Session session) Get an executable instance of Criteria to actually run the query. |
DetachedCriteria | setFetchMode(String associationPath, FetchMode mode) Set the fetch mode for a given association |
DetachedCriteria | setProjection(Projection projection) Set the projection to use. |
DetachedCriteria | setResultTransformer(ResultTransformer resultTransformer) Set the result transformer to use. |
String | toString() |