HSQLDB cryptic exception message: “feature not supported”

前端 未结 3 1205
执笔经年
执笔经年 2021-01-17 18:56

I have JDBC code which inserts into a database table by executing a PreparedStatement. When I run the code on an in-memory HSQLDB database (as part of a JUnit test) I get a

3条回答
  •  自闭症患者
    2021-01-17 19:46

    Systemic issues with HSQLDB are often due to mismatches in server vs. driver version (any mismatch at all will not work in my experience).

    I mostly suspect this isn't your issue. Since you said the db is "in memory," I'm guessing the server & driver are the same .jar file. But in case my guess is wrong, I thought I'd throw this out there.

提交回复
热议问题