[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1787) Postgres dialect needs date_trunc
Diego Pires Plentz (JIRA)
noreply at atlassian.com
Sun Nov 11 08:45:29 EST 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28773 ]
Diego Pires Plentz commented on HHH-1787:
-----------------------------------------
Jason & George,
I just looked at the docs and it doesn't say anything that we can use date_trunc(some_date). It requires another parameter that indicates the part of date that we want to trunc.
Reference:
http://www.postgresql.org/docs/7.3/interactive/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC
http://www.postgresql.org/docs/8.2/static/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC
> Postgres dialect needs date_trunc
> ---------------------------------
>
> Key: HHH-1787
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1787
> Project: Hibernate3
> Issue Type: Patch
> Components: metamodel
> Affects Versions: 3.1
> Environment: 3.1.3, postgres
> Reporter: George Courter
> Attachments: patch
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> Postgres dialect needs the date_trunc function registered. Patch is included.
--
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