public class QueryHints extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_MODE
The cache mode to use.
|
static String |
CACHE_REGION
The cache region to use.
|
static String |
CACHEABLE
Are the query results cacheable?
|
static String |
CALLABLE
Is the query callable? Note: only valid for named native sql queries.
|
static String |
COMMENT
Defines a comment to be applied to the SQL sent to the database.
|
static String |
FETCH_SIZE
Defines the JDBC fetch size to use.
|
static String |
FLUSH_MODE
The flush mode to associate with the execution of the query.
|
static String |
READ_ONLY
Should entities returned from the query be set in read only mode?
|
static String |
TIMEOUT_HIBERNATE
Apply a Hibernate query timeout, which is defined in seconds.
|
static String |
TIMEOUT_JPA
Apply a JPA query timeout, which is defined in milliseconds.
|
public static final String CACHE_MODE
public static final String CACHE_REGION
public static final String CACHEABLE
public static final String CALLABLE
public static final String COMMENT
public static final String FETCH_SIZE
public static final String FLUSH_MODE
public static final String READ_ONLY
public static final String TIMEOUT_HIBERNATE
public static final String TIMEOUT_JPA
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.