public interface QueryHints
Modifier and Type | Field and Description |
---|---|
static String |
HINT_AGGREGATE_LISTENER |
static String |
HINT_AGGREGATE_LISTENERS |
static String |
HINT_FILTER_LISTENER |
static String |
HINT_FILTER_LISTENERS |
static String |
HINT_IGNORE_FINDER
A directive to ignore any cached finder query for find() operation.
|
static String |
HINT_IGNORE_PREPARED_QUERY
A directive to ignore any prepared SQL that might have been cached
against a JPQL query.
|
static String |
HINT_INVALIDATE_FINDER
A directive to invalidate any cached finder query.
|
static String |
HINT_INVALIDATE_PREPARED_QUERY
A directive to invalidate any prepared SQL that might have been cached
against a JPQL query.
|
static String |
HINT_PARAM_MARKER_IN_QUERY
Hints to signal that the JPQL/SQL query string contains a parameter
marker
? |
static String |
HINT_RECACHE_FINDER
A directive to overwrite a cached finder query by a new query.
|
static String |
HINT_RELAX_BIND_PARAM_TYPE_CHECK
A boolean directive to relax checking of binding parameter value and the predicate
it binds to.
|
static String |
HINT_RESULT_COUNT
Hint to specify the number of rows to optimize for.
|
static String |
HINT_SUBCLASSES |
static String |
HINT_USE_LITERAL_IN_SQL
A boolean directive to generate literal directly into the SQL statement instead of using position parameter,
if possible.
|
static final String HINT_SUBCLASSES
static final String HINT_FILTER_LISTENER
static final String HINT_FILTER_LISTENERS
static final String HINT_AGGREGATE_LISTENER
static final String HINT_AGGREGATE_LISTENERS
static final String HINT_RESULT_COUNT
static final String HINT_PARAM_MARKER_IN_QUERY
?
character. By default, the query string is parsed
to count number of parameters assuming that all ?
characters
designate a bind parameter. This assumption makes the parse faster.static final String HINT_INVALIDATE_PREPARED_QUERY
HINT_IGNORE_PREPARED_QUERY
,
Constant Field Valuesstatic final String HINT_IGNORE_PREPARED_QUERY
static final String HINT_IGNORE_FINDER
static final String HINT_INVALIDATE_FINDER
static final String HINT_RECACHE_FINDER
static final String HINT_RELAX_BIND_PARAM_TYPE_CHECK
static final String HINT_USE_LITERAL_IN_SQL
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.