OpenJPA
  1. OpenJPA
  2. OPENJPA-2324

Option to express literal in query string directly into generate SQL

    Details

    • Patch Info:
      Patch Available

      Description

      Literals in query string is translated into parameters in generate SQL string. This has the advantage of query statement caching but in some use case performance will suffer.

      This is a request to provide a query hints to by-pass setting it as parameter but generate the literal in-line into the generated SQL statement for better performance.

      1. OPENJPA-2324.10x.patch
        6 kB
        Albert Lee
      2. OPENJPA-2324.trunk.patch
        9 kB
        Albert Lee

        Activity

        Hide
        Matthew Rupert added a comment -

        Why is version 2.2.0 not listed in Fix Versions? Is this still an issue in 2.2.0?

        Show
        Matthew Rupert added a comment - Why is version 2.2.0 not listed in Fix Versions? Is this still an issue in 2.2.0?
        Hide
        Rick Curtis added a comment -

        2.2.0 was already been released when this fix was added to the 2.2.x branch. You can get the fix in the 2.2.2 release.

        Show
        Rick Curtis added a comment - 2.2.0 was already been released when this fix was added to the 2.2.x branch. You can get the fix in the 2.2.2 release.

          People

          • Assignee:
            Heath Thomann
            Reporter:
            Albert Lee
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development