[HHH-2016] Oracle9Dialect registers last_day() function as "lastday"
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14189 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
40fbb3d31e
commit
369ec6da34
|
@ -121,7 +121,7 @@ public class Oracle8iDialect extends Dialect {
|
|||
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) );
|
||||
|
|
|
@ -103,7 +103,7 @@ public class Oracle9Dialect extends Dialect {
|
|||
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) );
|
||||
|
|
Loading…
Reference in New Issue