HHH-8136 Correct "to_char" function in HSQL
HHH-7993