[jira] Created: (OPENJPA-1129) "openjpa.FetchPlan.ReadLockMode is not a supported query hint...." WARNING message is logged when creating a named query.

2 messages Options
Embed this post
Permalink
JIRA jira@apache.org

[jira] Created: (OPENJPA-1129) "openjpa.FetchPlan.ReadLockMode is not a supported query hint...." WARNING message is logged when creating a named query.

Reply Threaded More More options
Print post
Permalink
"openjpa.FetchPlan.ReadLockMode is not a supported query hint...." WARNING message is logged when creating a named query.
-------------------------------------------------------------------------------------------------------------------------

                 Key: OPENJPA-1129
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1129
             Project: OpenJPA
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Rick Curtis
            Priority: Minor


When I create a namedQuery, I see the following message logged.

110641  WARN   [Thread-2] openjpa.Runtime - "openjpa.FetchPlan.ReadLockMode" is not a supported query hint. May be you meant "openjpa.FetchPlan.ReadLockLevel"?

To recreate the problem, create an Entity with a named query and then try to create that named query via EntityManager.createNamedQuery(..). It doesn't seem to have any functional affect, but I don't think it should be logged.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

JIRA jira@apache.org

[jira] Resolved: (OPENJPA-1129) "openjpa.FetchPlan.ReadLockMode is not a supported query hint...." WARNING message is logged when creating a named query.

Reply Threaded More More options
Print post
Permalink

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

Pinaki Poddar resolved OPENJPA-1129.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-M2
                   2.0.0-M3

> "openjpa.FetchPlan.ReadLockMode is not a supported query hint...." WARNING message is logged when creating a named query.
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1129
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1129
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Rick Curtis
>            Priority: Minor
>             Fix For: 2.0.0-M3, 2.0.0-M2
>
>
> When I create a namedQuery, I see the following message logged.
> 110641  WARN   [Thread-2] openjpa.Runtime - "openjpa.FetchPlan.ReadLockMode" is not a supported query hint. May be you meant "openjpa.FetchPlan.ReadLockLevel"?
> To recreate the problem, create an Entity with a named query and then try to create that named query via EntityManager.createNamedQuery(..). It doesn't seem to have any functional affect, but I don't think it should be logged.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.