mirror of https://github.com/apache/openjpa.git
OPENJPA-703 Cache ResultObjectProvider data to improve query performance
recover a line for query hint.OptimizeResultCount git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740598 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ddec73796c
commit
5fd390856e
|
@ -390,6 +390,7 @@ public class QueryImpl implements OpenJPAQuerySPI, Serializable {
|
|||
throw new ArgumentException(_loc.get(
|
||||
"bad-query-hint-value", key, value), null,
|
||||
null, false);
|
||||
_query.getFetchConfiguration().setHint(key, value);
|
||||
} else if (QueryHints.HINT_INVALIDATE_PREPARED_QUERY.equals
|
||||
(key)) {
|
||||
_query.getFetchConfiguration().setHint(key, (Boolean)value);
|
||||
|
|
Loading…
Reference in New Issue