openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Lee (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OPENJPA-2324) Option to express literal in query string directly into generate SQL
Date Wed, 10 Apr 2013 14:48:16 GMT

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

Albert Lee closed OPENJPA-2324.
-------------------------------

    
> Option to express literal in query string directly into generate SQL
> --------------------------------------------------------------------
>
>                 Key: OPENJPA-2324
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2324
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: kernel, sql
>    Affects Versions: 2.1.2, 2.3.0, 2.2.2
>            Reporter: Albert Lee
>            Assignee: Heath Thomann
>            Priority: Minor
>             Fix For: 1.0.5, 1.2.3, 2.0.3, 2.1.2, 2.3.0, 2.2.2, 2.2.1.1
>
>         Attachments: OPENJPA-2324.10x.patch, OPENJPA-2324.trunk.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message