Unit test MyBatis with HSQL instead of Oracle
Latest HSQLDB provides extensive Oracle syntax compatibility. All you need is add sql.syntax_ora=true
to your database URL. For example:
jdbc:hsqldb:mem:test;sql.syntax_ora=true
See the Guide
http://hsqldb.org/doc/2.0/guide/deployment-chapt.html
http://hsqldb.org/doc/2.0/guide/dbproperties-chapt.html
SQL syntax compatibility is constantly extended in new versions of HSQLDB, so it's best to use the latest available version.