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