Interface HibernateConstants
-
public interface HibernateConstants
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAMETER_HIBERNATE_SESSION
Built-in parameter holding the value of the Hibernate session to be used for creating the query.static String
PROPERTY_HIBERNATE_CLEAR_CACHE
Property specifying whether hibernate session cache should be cleared between two consecutive fetches when using pagination.static String
PROPERTY_HIBERNATE_FIELD_MAPPING_DESCRIPTIONS
Property specifying whether field descriptions should be used to determine the mapping between the fields and the query return values.static String
PROPERTY_HIBERNATE_QUERY_LIST_PAGE_SIZE
Property specifying the number of result rows to be retrieved at once when the execution type is list.static String
PROPERTY_HIBERNATE_QUERY_RUN_TYPE
Property specifying the query execution type.static String
QUERY_EXECUTER_NAME_HQL
static String
QUERY_LANGUAGE_HQL
HQL query language.static String
VALUE_HIBERNATE_QUERY_RUN_TYPE_ITERATE
Value of thePROPERTY_HIBERNATE_QUERY_RUN_TYPE
property corresponding to iterate execution type.static String
VALUE_HIBERNATE_QUERY_RUN_TYPE_LIST
Value of thePROPERTY_HIBERNATE_QUERY_RUN_TYPE
property corresponding to list execution type.static String
VALUE_HIBERNATE_QUERY_RUN_TYPE_SCROLL
Value of thePROPERTY_HIBERNATE_QUERY_RUN_TYPE
property corresponding to scroll execution type.
-
-
-
Field Detail
-
QUERY_EXECUTER_NAME_HQL
static final String QUERY_EXECUTER_NAME_HQL
- See Also:
- Constant Field Values
-
QUERY_LANGUAGE_HQL
static final String QUERY_LANGUAGE_HQL
HQL query language.- See Also:
- Constant Field Values
-
PARAMETER_HIBERNATE_SESSION
static final String PARAMETER_HIBERNATE_SESSION
Built-in parameter holding the value of the Hibernate session to be used for creating the query.- See Also:
- Constant Field Values
-
PROPERTY_HIBERNATE_QUERY_RUN_TYPE
static final String PROPERTY_HIBERNATE_QUERY_RUN_TYPE
Property specifying the query execution type. Possible values are:- list (default) - the query will be run by calling
org.hibernate.Query.list()
- iterate - the query will be run by calling
org.hibernate.Query.iterate()
- scroll - the query will be run by calling
org.hibernate.Query.scroll()
- See Also:
- Constant Field Values
- list (default) - the query will be run by calling
-
PROPERTY_HIBERNATE_QUERY_LIST_PAGE_SIZE
static final String PROPERTY_HIBERNATE_QUERY_LIST_PAGE_SIZE
Property specifying the number of result rows to be retrieved at once when the execution type is list. Result pagination is implemented byorg.hibernate.Query.setFirstResult()
andorg.hibernate.Query.setMaxResults()
. By default, all the rows are retrieved (no result pagination is performed).- See Also:
- Constant Field Values
-
PROPERTY_HIBERNATE_CLEAR_CACHE
static final String PROPERTY_HIBERNATE_CLEAR_CACHE
Property specifying whether hibernate session cache should be cleared between two consecutive fetches when using pagination. By default, the cache cleanup is not performed.
-
PROPERTY_HIBERNATE_FIELD_MAPPING_DESCRIPTIONS
static final String PROPERTY_HIBERNATE_FIELD_MAPPING_DESCRIPTIONS
Property specifying whether field descriptions should be used to determine the mapping between the fields and the query return values.- See Also:
- Constant Field Values
-
VALUE_HIBERNATE_QUERY_RUN_TYPE_LIST
static final String VALUE_HIBERNATE_QUERY_RUN_TYPE_LIST
Value of thePROPERTY_HIBERNATE_QUERY_RUN_TYPE
property corresponding to list execution type.- See Also:
- Constant Field Values
-
VALUE_HIBERNATE_QUERY_RUN_TYPE_ITERATE
static final String VALUE_HIBERNATE_QUERY_RUN_TYPE_ITERATE
Value of thePROPERTY_HIBERNATE_QUERY_RUN_TYPE
property corresponding to iterate execution type.- See Also:
- Constant Field Values
-
VALUE_HIBERNATE_QUERY_RUN_TYPE_SCROLL
static final String VALUE_HIBERNATE_QUERY_RUN_TYPE_SCROLL
Value of thePROPERTY_HIBERNATE_QUERY_RUN_TYPE
property corresponding to scroll execution type.- See Also:
- Constant Field Values
-
-