[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6764) QueryAndSQLTest.testNativeQueryWithFormulaAttribute() fails on SQL Server due to unsupported function
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Fri Nov 18 11:24:19 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44360#comment-44360 ]
Hardy Ferentschik commented on HHH-6764:
----------------------------------------
This does not only affect SQL Server. Same problem with PostgreSQL. Continuing with dialect if statements does not seem to be the right way. I think the problem should be solved via a generic approach using for example the generic dialect function registry.
> QueryAndSQLTest.testNativeQueryWithFormulaAttribute() fails on SQL Server due to unsupported function
> -----------------------------------------------------------------------------------------------------
>
> Key: HHH-6764
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6764
> Project: Hibernate Core
> Issue Type: Bug
> Components: testsuite
> Affects Versions: 4.0.0.CR4
> Environment: MS SQL Server
> Reporter: John Verhaeg
> Assignee: John Verhaeg
> Fix For: 4.0.0.CR5
>
>
> Native SQL in test includes sysdate() function; should be getDate() for SQL Server
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list