HHH-8136 Correct "to_char" function in HSQL

This commit is contained in:
Brett Meyer 2013-04-03 11:16:20 -04:00
parent 47443bcf57
commit e17819ed61
1 changed files with 1 additions and 1 deletions

View File

@ -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" ) );