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

Option to express literal in query string directly into generate SQL

    XMLWordPrintableJSON

Details

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

      Attachments

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

        Issue Links

          Activity

            People

              jpaheath Heath Thomann
              allee8285 Albert Lee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: