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

CriteriaSpecification (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.criterion
Interface CriteriaSpecification

All Known Subinterfaces:
Criteria
All Known Implementing Classes:
CriteriaImpl, CriteriaImpl.Subcriteria, DetachedCriteria

public interface CriteriaSpecification

Author:
Gavin King

Field Summary
static ResultTransformer ALIAS_TO_ENTITY_MAP
          Each row of results is a Map from alias to entity instance
static ResultTransformer DISTINCT_ROOT_ENTITY
          Each row of results is a distinct instance of the root entity
static int FULL_JOIN
          Specifies joining to an entity based on a full join.
static int INNER_JOIN
          Specifies joining to an entity based on an inner join.
static int LEFT_JOIN
          Specifies joining to an entity based on a left outer join.
static ResultTransformer PROJECTION
          This result transformer is selected implicitly by calling setProjection()
static String ROOT_ALIAS
          The alias that refers to the "root" entity of the criteria query.
static ResultTransformer ROOT_ENTITY
          Each row of results is an instance of the root entity
 

Field Detail

ROOT_ALIAS

public static final String ROOT_ALIAS
The alias that refers to the "root" entity of the criteria query.

See Also:
Constant Field Values

ALIAS_TO_ENTITY_MAP

public static final ResultTransformer ALIAS_TO_ENTITY_MAP
Each row of results is a Map from alias to entity instance


ROOT_ENTITY

public static final ResultTransformer ROOT_ENTITY
Each row of results is an instance of the root entity


DISTINCT_ROOT_ENTITY

public static final ResultTransformer DISTINCT_ROOT_ENTITY
Each row of results is a distinct instance of the root entity


PROJECTION

public static final ResultTransformer PROJECTION
This result transformer is selected implicitly by calling setProjection()


INNER_JOIN

public static final int INNER_JOIN
Specifies joining to an entity based on an inner join.

See Also:
Constant Field Values

FULL_JOIN

public static final int FULL_JOIN
Specifies joining to an entity based on a full join.

See Also:
Constant Field Values

LEFT_JOIN

public static final int LEFT_JOIN
Specifies joining to an entity based on a left outer join.

See Also:
Constant Field Values