I recently upgraded HSQL from 1.8.0.10 to 2.0 and then 2.0.1.rc3 without any changes in my code or test data. I have lots of tests which previously worked and now i am getting lots of exceptions involving "casting"...
Caused by: org.hsqldb.HsqlException: data exception: invalid character value for cast
Unfortunately the exception messages are poor and give me next to no clue which column etc is bad.
Other exceptions show that it is attempting to complain the sysadmin username to a long ??
Caused by: org.hsqldb.HsqlException: incompatible data type in conversion: from SQL type VARCHAR to java.lang.Long, value: SA
at org.hsqldb.error.Error.error(Error.java:77)
... 54 more
The really strange this is i am using HSQL in memory mode and start it up empty and never set any access stuff.
PS
I have also updated Hibernate to 3.6.