openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Lee (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OPENJPA-2007) Setting query hint "openjpa.FetchPlan.Isolation" results in misleading warning
Date Thu, 02 Feb 2012 17:10:54 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Albert Lee closed OPENJPA-2007.
-------------------------------


Close issue in preparation for 2.2.0 release.
                
> Setting query hint "openjpa.FetchPlan.Isolation" results in misleading warning
> ------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2007
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2007
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 2.0.0, 2.0.1, 2.1.0, 2.2.0
>            Reporter: Jeremy Bauer
>            Assignee: Jeremy Bauer
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> Setting query hint "openjpa.FetchPlan.Isolation" on a query results in this misleading
warning being printed in the log:
> WARN   [main] openjpa.Runtime - "openjpa.FetchPlan.Isolation" is not a supported query
hint. May be you meant "openjpa.FetchPlan.LRSSize"?
> The supported hint map in JDBCPersistenceProductDerivation adds key openjpa.FetchPlan.TransactionIsolation,
which is incorrect.  It should be adding openjpa.FetchPlan.Isolation instead.
> Note: Even though a warning is issued, provided the database supports query-level isolation
level switching, the hint handler does apply the isolation level to the query.

--
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

        

Mime
View raw message