HHH-6840 - Add to_char function to HSQLDialect

This commit is contained in:
Steve Ebersole 2011-12-30 21:25:02 -06:00
parent b2f24c6987
commit d60c168944
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,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( "rawtohex", new StandardSQLFunction( "rawtohex" ) );
registerFunction( "hextoraw", new StandardSQLFunction( "hextoraw" ) );