[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-3468) SQLFunction Criterion/Projection
joel winteregg (JIRA)
noreply at atlassian.com
Mon Sep 8 18:48:04 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list