openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2324) Option to express literal in query string directly into generate SQL
Date Fri, 14 Feb 2014 14:47:19 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901485#comment-13901485
] 

Rick Curtis commented on OPENJPA-2324:
--------------------------------------

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.

> 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.2.2, 2.3.0
>            Reporter: Albert Lee
>            Assignee: Heath Thomann
>            Priority: Minor
>             Fix For: 1.0.5, 1.2.3, 2.0.3, 2.1.2, 2.2.2, 2.2.1.1, 2.3.0
>
>         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 was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message