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.
- relates to
-
OPENJPA-2534 A boolean is not converted correct when using the hint 'UseLiteralInSQL'.
-
- Closed
-