[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3468?page=c...
]
joel winteregg updated HHH-3468:
--------------------------------
Attachment: SqlFunctionProjection.java
This class produce the following result when adding it as follow to my ProjectionList:
SqlFunctionProjection("date_trunc", propertyName, "hour")
Hibernate: select st4_.startDate as y0_, st4_.endDate as y1_, st4_.nbLines as y2_,
date_trunc('hour', st4_.startDate) as y3_ from Host ......
SQLFunction Criterion/Projection
--------------------------------
Key: HHH-3468
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3468
Project: Hibernate3
Issue Type: New Feature
Components: query-criteria
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Fix For: 3.2.x, 3.3.x, 3.4
Attachments: SqlFunctionProjection.java
write Projection and Criterion impl to utilize SQLFunctions registered with the Dialect.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira