Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1129

"openjpa.FetchPlan.ReadLockMode is not a supported query hint...." WARNING message is logged when creating a named query.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0-M2, 2.0.0-M3
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            curtisr7 Richard G. Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: