HHH-6840 - Add to_char function to HSQLDialect
This commit is contained in:
parent
b2f24c6987
commit
d60c168944
|
@ -143,6 +143,7 @@ public class HSQLDialect extends Dialect {
|
||||||
registerFunction( "reverse", new StandardSQLFunction( "reverse" ) );
|
registerFunction( "reverse", new StandardSQLFunction( "reverse" ) );
|
||||||
registerFunction( "space", new StandardSQLFunction( "space", StandardBasicTypes.STRING ) );
|
registerFunction( "space", new StandardSQLFunction( "space", StandardBasicTypes.STRING ) );
|
||||||
registerFunction( "str", new SQLFunctionTemplate( StandardBasicTypes.STRING, "cast(?1 as varchar(256))" ) );
|
registerFunction( "str", new SQLFunctionTemplate( StandardBasicTypes.STRING, "cast(?1 as varchar(256))" ) );
|
||||||
|
registerFunction( "to_char", new StandardSQLFunction( "to_char" ) );
|
||||||
registerFunction( "rawtohex", new StandardSQLFunction( "rawtohex" ) );
|
registerFunction( "rawtohex", new StandardSQLFunction( "rawtohex" ) );
|
||||||
registerFunction( "hextoraw", new StandardSQLFunction( "hextoraw" ) );
|
registerFunction( "hextoraw", new StandardSQLFunction( "hextoraw" ) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue