mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-09 04:34:49 +00:00
HHH-3458 Register postgres random() function as "rand" in PostgresSQLDialect
This commit is contained in:
parent
bfcca64997
commit
d5c651ccf5
@ -104,6 +104,7 @@ public PostgreSQL81Dialect() {
|
||||
registerFunction( "variance", new StandardSQLFunction("variance", StandardBasicTypes.DOUBLE) );
|
||||
|
||||
registerFunction( "random", new NoArgSQLFunction("random", StandardBasicTypes.DOUBLE) );
|
||||
registerFunction( "rand", new NoArgSQLFunction("random", StandardBasicTypes.DOUBLE) );
|
||||
|
||||
registerFunction( "round", new StandardSQLFunction("round") );
|
||||
registerFunction( "trunc", new StandardSQLFunction("trunc") );
|
||||
|
Loading…
x
Reference in New Issue
Block a user