[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2736) support for native/SQL query hints in HQL/Criteria (Oracle SELECT hints for example)

Hugh (JIRA) noreply at atlassian.com
Sun Mar 13 21:35:09 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=40193#action_40193 ] 

Hugh commented on HHH-2736:
---------------------------

This would be useful. I have dynamic table names defined by an in memory orm.xml per thread so NativeQueries don't quite cover it.

> support for native/SQL query hints in HQL/Criteria (Oracle SELECT hints for example)
> ------------------------------------------------------------------------------------
>
>                 Key: HHH-2736
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2736
>             Project: Hibernate Core
>          Issue Type: New Feature
>          Components: query-criteria, query-hql
>    Affects Versions: 3.2.4.sp1
>            Reporter: Adam Wozniak
>
> Hello Everybody
> In 2004 Gavin said: "I think we plan to add a Query.setQueryHint() method" (hibernate forum: http://forum.hibernate.org/viewtopic.php?p=2193761&sid=5cf2ec711851f726c700eb9f56c2866a ). But I still cannot find it in Hibernate Core/Hib. Annotation/Hib. EntityManager.
> Can this enhancement request be opened / reopened?
> It would be great for us to have such possibility. 
> Kind Regards,
> Adam Wozniak

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list