org.hibernate.criterion

Interface CriteriaSpecification

Known Subinterfaces:
Criteria
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 Details

ALIAS_TO_ENTITY_MAP

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

DISTINCT_ROOT_ENTITY

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

FULL_JOIN

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

INNER_JOIN

public static final int INNER_JOIN
Specifies joining to an entity based on an inner join.
Field Value:
0

LEFT_JOIN

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

PROJECTION

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

ROOT_ALIAS

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

ROOT_ENTITY

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