[Hibernate-JIRA] Created: (HHH-6012) HSQLDialect support for ROWNUM
by Ondrej Medek (JIRA)
HSQLDialect support for ROWNUM
------------------------------
Key: HHH-6012
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6012
Project: Hibernate Core
Issue Type: Improvement
Components: core
Affects Versions: 3.6.0.CR2, 3.6.0.CR1, 3.5.6, 3.6.0.Beta4, 3.6.0.Beta3, 3.5.5, 3.6.0.Beta2, 3.6.0.Beta1, 3.5.4, 3.5.3, 3.5.2, 3.5.1, 3.5.0-Final, 3.5.0-CR-2, 3.5.0-CR-1, 3.5.0-Beta-4, 3.5.0-Beta-3, 3.5.0-Beta-2, 3.5.0.Beta-1, 3.3.2, 3.3.1
Reporter: Ondrej Medek
New HSQLDB has a support for Oracel compatibility by:
SET DATABASE SQL SYNTAX ORA TRUE
So, the HSQLDB knows ROWNUM. However, I cannot use it in @Formula. Please, add ROWNUM into the HSQLDialect in the same way, as it is in the Oracle9iDialect. E.g. add:
// Oracle compatibility mode support - SET DATABASE SQL SYNTAX ORA TRUE
registerFunction( "rownum", new NoArgSQLFunction("rownum", Hibernate.LONG, false) );
--
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
13 years