HHH-8136 Correct "to_char" function in HSQL
This commit is contained in:
parent
919a0e4244
commit
e750fe7755
|
@ -142,7 +142,7 @@ public class HSQLDialect extends Dialect {
|
|||
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…
Reference in New Issue