File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
hibernate-core/src/main/java/org/hibernate/dialect Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ public HSQLDialect() {
142
142
registerFunction ( "reverse" , new StandardSQLFunction ( "reverse" ) );
143
143
registerFunction ( "space" , new StandardSQLFunction ( "space" , StandardBasicTypes .STRING ) );
144
144
registerFunction ( "str" , new SQLFunctionTemplate ( StandardBasicTypes .STRING , "cast(?1 as varchar(256))" ) );
145
- registerFunction ( "to_char" , new StandardSQLFunction ( "to_char" ) );
145
+ registerFunction ( "to_char" , new StandardSQLFunction ( "to_char" , StandardBasicTypes . STRING ) );
146
146
registerFunction ( "rawtohex" , new StandardSQLFunction ( "rawtohex" ) );
147
147
registerFunction ( "hextoraw" , new StandardSQLFunction ( "hextoraw" ) );
148
148
You can’t perform that action at this time.
0 commit comments