HSQL + Hibernate Exception: Wrong column type: Found: double, expected: float
I am using in-memory HSQL (HSQLDB) with Hibernate for all my unit tests, because it is very fast. I have a table with a column defined as follows: float qw; When hibernate starts, I get the following error: org.hibernate.HibernateException: Wrong column type in MyTable for column qw. Found: double, expected: float Why does it find double when the column is declared as float ? Mike Nakis This is happening due to a series of unfortunate events . The problem begins with the fact that HSQLDB does not support the float data type. (Duh? Yes, I know, but Documentation here .) The problem starts