[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2683) "datediff" is declared as NoArgSQLFunction in H2Dialect, but actually accepts 3 arguments.
Diego Plentz (JIRA)
noreply at atlassian.com
Sat May 3 16:11:33 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diego Plentz resolved HHH-2683.
-------------------------------
Assignee: Diego Plentz
Resolution: Fixed
Fix Version/s: 3.3.0.CR2
> "datediff" is declared as NoArgSQLFunction in H2Dialect, but actually accepts 3 arguments.
> ------------------------------------------------------------------------------------------
>
> Key: HHH-2683
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2683
> Project: Hibernate3
> Issue Type: Bug
> Components: query-hql
> Affects Versions: 3.2.4.sp1
> Reporter: Dmitry Katsubo
> Assignee: Diego Plentz
> Fix For: 3.3.0.CR2
>
>
> The following line in org.hibernate.dialect.H2Dialect
> registerFunction("datediff", new NoArgSQLFunction("datediff", Hibernate.INTEGER));
> should be read as:
> registerFunction("datediff", new StandardSQLFunction("datediff", Hibernate.INTEGER));
--
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