HHH-8136 Correct "to_char" function in HSQL