You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Kevin Sutter (Work started) (JIRA)" <ji...@apache.org> on 2012/03/09 21:58:56 UTC
[jira] [Work started] (OPENJPA-2152) Don't process query hints when
LockModeType == NONE
[ https://issues.apache.org/jira/browse/OPENJPA-2152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on OPENJPA-2152 started by Kevin Sutter.
> Don't process query hints when LockModeType == NONE
> ---------------------------------------------------
>
> Key: OPENJPA-2152
> URL: https://issues.apache.org/jira/browse/OPENJPA-2152
> Project: OpenJPA
> Issue Type: Improvement
> Components: query
> Affects Versions: 2.3.0, 2.2.1
> Reporter: Kevin Sutter
> Assignee: Kevin Sutter
> Fix For: 2.3.0, 2.2.1
>
>
> When processing a named query, we look to see what the LockModeType should be set to as a hint for the query. But, if the LockModeType is the default (NONE), there is no reason to set that as a hint. So, if the required LockModeType turns out to be NONE, then we're going to skip setting this hint. Hint processing is kind of expensive for Queries, so the less we do the better.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira