openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Dick (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OPENJPA-898) hints don't work for NamedNativeQuery
Date Sun, 01 Mar 2009 21:07:12 GMT

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

Michael Dick resolved OPENJPA-898.
----------------------------------

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

Some of the users of the 1.2.x and 1.0.x are conservative about changes, especially without
a testcase. For now we'll resolve this issue in the released branches only. 

> 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: Michael Dick
>             Fix For: 1.3.0, 2.0.0
>
>         Attachments: OPENJPA-898-branches10x.patch, OPENJPA-898-branches12x.patch, OPENJPA-898-branches13x.patch
>
>
> 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.


Mime
View raw message