On Mon, Jul 20, 2015 at 4:58 PM, Kariem Hussein <[email protected]>
wrote:

> [...] it does not work, when I set the appropriate hint in orm.xml:
>
>     <named-query name="person.v">
>       <query>
>         select p
>         from Person p
>         where p.type = 'V'
>       </query>
>       <hint name="openjpa.hint.UseLiteralInSQL" value="true" />
>     </named-query>
>
> Something wrong with this, or is there a limitation I am running into?
>

I just filed OPENJPA-2601 [1] for this and I have prepared a pull request
[2]. I hope it is possible to backport this to 2.3, because we currently
cannot go to 2.4.

Thank you,
Kariem


[1] https://issues.apache.org/jira/browse/OPENJPA-2601
[2] https://github.com/apache/openjpa/pull/2

Reply via email to