mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-09 12:44:49 +00:00
HHH-8136 Correct "to_char" function in HSQL
This commit is contained in:
parent
47443bcf57
commit
e17819ed61
@ -142,7 +142,7 @@ public HSQLDialect() {
|
||||
registerFunction( "reverse", new StandardSQLFunction( "reverse" ) );
|
||||
registerFunction( "space", new StandardSQLFunction( "space", StandardBasicTypes.STRING ) );
|
||||
registerFunction( "str", new SQLFunctionTemplate( StandardBasicTypes.STRING, "cast(?1 as varchar(256))" ) );
|
||||
registerFunction( "to_char", new StandardSQLFunction( "to_char" ) );
|
||||
registerFunction( "to_char", new StandardSQLFunction( "to_char", StandardBasicTypes.STRING ) );
|
||||
registerFunction( "rawtohex", new StandardSQLFunction( "rawtohex" ) );
|
||||
registerFunction( "hextoraw", new StandardSQLFunction( "hextoraw" ) );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user