public class DetachedCriteria extends Object implements CriteriaSpecification, Serializable
Criteria
,
Serialized FormALIAS_TO_ENTITY_MAP, DISTINCT_ROOT_ENTITY, FULL_JOIN, INNER_JOIN, LEFT_JOIN, PROJECTION, ROOT_ALIAS, ROOT_ENTITY
Modifier | Constructor and Description |
---|---|
protected |
DetachedCriteria(CriteriaImpl impl,
Criteria criteria) |
protected |
DetachedCriteria(String entityName) |
protected |
DetachedCriteria(String entityName,
String alias) |
protected DetachedCriteria(String entityName)
protected DetachedCriteria(CriteriaImpl impl, Criteria criteria)
public Criteria getExecutableCriteria(Session session)
public static DetachedCriteria forEntityName(String entityName)
public static DetachedCriteria forEntityName(String entityName, String alias)
public static DetachedCriteria forClass(Class clazz)
public static DetachedCriteria forClass(Class clazz, String alias)
public DetachedCriteria add(Criterion criterion)
public DetachedCriteria addOrder(Order order)
public DetachedCriteria createAlias(String associationPath, String alias) throws HibernateException
HibernateException
public DetachedCriteria createCriteria(String associationPath, String alias) throws HibernateException
HibernateException
public DetachedCriteria createCriteria(String associationPath) throws HibernateException
HibernateException
public String getAlias()
public DetachedCriteria setFetchMode(String associationPath, FetchMode mode) throws HibernateException
HibernateException
public DetachedCriteria setProjection(Projection projection)
public DetachedCriteria setResultTransformer(ResultTransformer resultTransformer)
public DetachedCriteria createAlias(String associationPath, String alias, JoinType joinType) throws HibernateException
HibernateException
public DetachedCriteria createAlias(String associationPath, String alias, JoinType joinType, Criterion withClause) throws HibernateException
HibernateException
public DetachedCriteria createCriteria(String associationPath, JoinType joinType) throws HibernateException
HibernateException
public DetachedCriteria createCriteria(String associationPath, String alias, JoinType joinType) throws HibernateException
HibernateException
public DetachedCriteria createCriteria(String associationPath, String alias, JoinType joinType, Criterion withClause) throws HibernateException
HibernateException
@Deprecated public DetachedCriteria createAlias(String associationPath, String alias, int joinType) throws HibernateException
createAlias(String, String, JoinType)
HibernateException
@Deprecated public DetachedCriteria createAlias(String associationPath, String alias, int joinType, Criterion withClause) throws HibernateException
createAlias(String, String, JoinType, Criterion)
HibernateException
@Deprecated public DetachedCriteria createCriteria(String associationPath, int joinType) throws HibernateException
createCriteria(String, JoinType)
HibernateException
@Deprecated public DetachedCriteria createCriteria(String associationPath, String alias, int joinType) throws HibernateException
createCriteria(String, String, JoinType)
HibernateException
@Deprecated public DetachedCriteria createCriteria(String associationPath, String alias, int joinType, Criterion withClause) throws HibernateException
createCriteria(String, String, JoinType, Criterion)
HibernateException
public DetachedCriteria setComment(String comment)
public DetachedCriteria setLockMode(LockMode lockMode)
public DetachedCriteria setLockMode(String alias, LockMode lockMode)
Copyright © 2018 JBoss by Red Hat. All rights reserved.