You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Pinaki Poddar (JIRA)" <ji...@apache.org> on 2009/02/23 15:59:02 UTC

[jira] Resolved: (OPENJPA-898) hints don't work for NamedNativeQuery

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

Pinaki Poddar resolved OPENJPA-898.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.2.1)
                       (was: 1.3.0)
                   2.0.0-M1

> hints don't work for NamedNativeQuery
> -------------------------------------
>
>                 Key: OPENJPA-898
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-898
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Jianfeng Mao
>            Assignee: Pinaki Poddar
>             Fix For: 2.0.0-M1, 2.0.0
>
>
> Hints defined for a named native query such as the one below don't get loaded, however, if changed it to @NamedQuery, the hints get loaded.
>  
>           @NamedNativeQuery(name="GetMemberInfo",
> 		query="CALL MEMBERSUB",
> 		hints= {
> 			@QueryHint(name="openjpa.hint.u2sub.numberofpara", value="2"),
> 			@QueryHint(name="openjpa.hint.u2sub.output.para", value ="2")
> 			}
> 		)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Resolved: (OPENJPA-898) hints don't work for NamedNativeQuery

Posted by Donald Woods <dw...@apache.org>.
Any reason why we are not including this fix in the 1.2 and 1.3 branches?


-Donald


Pinaki Poddar (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/OPENJPA-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Pinaki Poddar resolved OPENJPA-898.
> -----------------------------------
> 
>        Resolution: Fixed
>     Fix Version/s:     (was: 1.2.1)
>                        (was: 1.3.0)
>                    2.0.0-M1
> 
>> hints don't work for NamedNativeQuery
>> -------------------------------------
>>
>>                 Key: OPENJPA-898
>>                 URL: https://issues.apache.org/jira/browse/OPENJPA-898
>>             Project: OpenJPA
>>          Issue Type: Bug
>>    Affects Versions: 1.2.0
>>            Reporter: Jianfeng Mao
>>            Assignee: Pinaki Poddar
>>             Fix For: 2.0.0-M1, 2.0.0
>>
>>
>> Hints defined for a named native query such as the one below don't get loaded, however, if changed it to @NamedQuery, the hints get loaded.
>>  
>>           @NamedNativeQuery(name="GetMemberInfo",
>> 		query="CALL MEMBERSUB",
>> 		hints= {
>> 			@QueryHint(name="openjpa.hint.u2sub.numberofpara", value="2"),
>> 			@QueryHint(name="openjpa.hint.u2sub.output.para", value ="2")
>> 			}
>> 		)
>