HSQL

 

Whenever I connect to HSQLDB from my application deployed on eclipse Juno, it throws an exception as : java.sql.SQLException: error in script file line: 1 Unexpected token UNIQUE, requires COLLATION in statement [SET DATABASE UNIQUE]

You need the latest version of HSQLDB jar, currently 2.2.9.

Your database files are version 2.x, but the jar you are using is probably 1.8.x or earlier. It is important to use the same jar version (major.minor).
http://stackoverflow.com/questions/12969109/error-in-script-file-line-1-unexpected-token-unique-requires-collation-in-stat

http://stackoverflow.com/questions/4949023/unexpected-token-unique-requires-collation-in-statement-set-database-unique

 


2015-04-27T09:22:12.125+0800  WARNING  Script processing failure
org.hsqldb.HsqlException: error in script file line: 234 java.io.EOFException in statement [SET TABLE PUBLIC.C
ONFIGSET INDEX ‘1 0 1‘]
        at org.hsqldb.error.Error.error(Unknown Source)

http://blog.csdn.net/YuLimin/article/details/1623656

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。