[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3041) Allow Order class to include replacement parameters

Paul Benedict (JIRA) noreply at atlassian.com
Mon Dec 31 02:27:24 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29211 ] 

Paul Benedict commented on HHH-3041:
------------------------------------

Err. Implement Criterion.

> Allow Order class to include replacement parameters
> ---------------------------------------------------
>
>                 Key: HHH-3041
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3041
>             Project: Hibernate3
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.2.5
>            Reporter: Paul Benedict
>
> I extended the Order class to provide custom ordering via replacement parameters. Then I found out the question marks were not being replaced. It would be nice if Order could also implement Criteria (or a re-factored out interface) so that I could contribute the replacement values via getTypedValues.
> As of now, my only workaround is to directly put the values into the ORDER by clause. This will reduce any prepared statement caching since the values are highly subjective.

-- 
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