Recently I upgraded my maven HSQL dependency to org.hsqldb:hsqldb:2.0.0 from version 1.8.1.2. However all the tests that used HSQLDB failed, with an exception saying:
org.hsqldb.HsqlException: user lacks privilege or object not found: REFERENTIAL_INTEGRITY
I googled it and found a few answers but I found them hard to understand. How can I fix my tests? Before the upgrade my tests worked OK.