How to use HSQLDB in Oracle query syntax mode?

前端 未结 3 810
不知归路
不知归路 2020-12-10 03:29

I am trying to use HSQLDB as an embedded database in a spring application (for testing). As the target production database is Oracle, I would like to use HSQLDBs Oracle synt

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-10 04:18

    This option was introduced with HSQLDB 2.0.

    Are you sure you are using the correct version?
    Maybe you have 1.8 still in the classpath somewhere.

    But that won't get you far in terms of testing anyway, because this only turns on some basic syntax "replacing", there is no real behaviour change involved here (and I'm not even talking about more advanced Oracle features like analytical functions, CONNECT BY or something similar).

    It is very seldom a good idea to test your application with a DBMS that will not be used in production. It is simply not a valid test.

提交回复
热议问题