Author: d.plentz
Date: 2007-11-05 21:09:45 -0500 (Mon, 05 Nov 2007)
New Revision: 14189
Modified:
core/branches/Branch_3_2/src/org/hibernate/dialect/Oracle8iDialect.java
core/branches/Branch_3_2/src/org/hibernate/dialect/Oracle9Dialect.java
core/trunk/core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
core/trunk/core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
Log:
[HHH-2016] Oracle9Dialect registers last_day() function as "lastday"
Modified: core/branches/Branch_3_2/src/org/hibernate/dialect/Oracle8iDialect.java
===================================================================
--- core/branches/Branch_3_2/src/org/hibernate/dialect/Oracle8iDialect.java 2007-11-04
15:40:50 UTC (rev 14188)
+++ core/branches/Branch_3_2/src/org/hibernate/dialect/Oracle8iDialect.java 2007-11-06
02:09:45 UTC (rev 14189)
@@ -121,7 +121,7 @@
registerFunction( "current_time", new
NoArgSQLFunction("current_timestamp", Hibernate.TIME, false) );
registerFunction( "current_timestamp", new
NoArgSQLFunction("current_timestamp", Hibernate.TIMESTAMP, false) );
- registerFunction( "lastday", new StandardSQLFunction("lastday",
Hibernate.DATE) );
+ registerFunction( "last_day", new StandardSQLFunction("last_day",
Hibernate.DATE) );
registerFunction( "sysdate", new NoArgSQLFunction("sysdate",
Hibernate.DATE, false) );
registerFunction( "systimestamp", new
NoArgSQLFunction("systimestamp", Hibernate.TIMESTAMP, false) );
registerFunction( "uid", new NoArgSQLFunction("uid",
Hibernate.INTEGER, false) );
Modified: core/branches/Branch_3_2/src/org/hibernate/dialect/Oracle9Dialect.java
===================================================================
--- core/branches/Branch_3_2/src/org/hibernate/dialect/Oracle9Dialect.java 2007-11-04
15:40:50 UTC (rev 14188)
+++ core/branches/Branch_3_2/src/org/hibernate/dialect/Oracle9Dialect.java 2007-11-06
02:09:45 UTC (rev 14189)
@@ -103,7 +103,7 @@
registerFunction( "current_time", new
NoArgSQLFunction("current_timestamp", Hibernate.TIME, false) );
registerFunction( "current_timestamp", new
NoArgSQLFunction("current_timestamp", Hibernate.TIMESTAMP, false) );
- registerFunction( "lastday", new StandardSQLFunction("lastday",
Hibernate.DATE) );
+ registerFunction( "last_day", new StandardSQLFunction("last_day",
Hibernate.DATE) );
registerFunction( "sysdate", new NoArgSQLFunction("sysdate",
Hibernate.DATE, false) );
registerFunction( "systimestamp", new
NoArgSQLFunction("systimestamp", Hibernate.TIMESTAMP, false) );
registerFunction( "uid", new NoArgSQLFunction("uid",
Hibernate.INTEGER, false) );
Modified: core/trunk/core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
===================================================================
--- core/trunk/core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java 2007-11-04
15:40:50 UTC (rev 14188)
+++ core/trunk/core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java 2007-11-06
02:09:45 UTC (rev 14189)
@@ -121,7 +121,7 @@
registerFunction( "current_time", new
NoArgSQLFunction("current_timestamp", Hibernate.TIME, false) );
registerFunction( "current_timestamp", new
NoArgSQLFunction("current_timestamp", Hibernate.TIMESTAMP, false) );
- registerFunction( "lastday", new StandardSQLFunction("lastday",
Hibernate.DATE) );
+ registerFunction( "last_day", new StandardSQLFunction("last_day",
Hibernate.DATE) );
registerFunction( "sysdate", new NoArgSQLFunction("sysdate",
Hibernate.DATE, false) );
registerFunction( "systimestamp", new
NoArgSQLFunction("systimestamp", Hibernate.TIMESTAMP, false) );
registerFunction( "uid", new NoArgSQLFunction("uid",
Hibernate.INTEGER, false) );
Modified: core/trunk/core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
===================================================================
--- core/trunk/core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java 2007-11-04
15:40:50 UTC (rev 14188)
+++ core/trunk/core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java 2007-11-06
02:09:45 UTC (rev 14189)
@@ -103,7 +103,7 @@
registerFunction( "current_time", new
NoArgSQLFunction("current_timestamp", Hibernate.TIME, false) );
registerFunction( "current_timestamp", new
NoArgSQLFunction("current_timestamp", Hibernate.TIMESTAMP, false) );
- registerFunction( "lastday", new StandardSQLFunction("lastday",
Hibernate.DATE) );
+ registerFunction( "last_day", new StandardSQLFunction("last_day",
Hibernate.DATE) );
registerFunction( "sysdate", new NoArgSQLFunction("sysdate",
Hibernate.DATE, false) );
registerFunction( "systimestamp", new
NoArgSQLFunction("systimestamp", Hibernate.TIMESTAMP, false) );
registerFunction( "uid", new NoArgSQLFunction("uid",
Hibernate.INTEGER, false) );