HSQL

简介: Whenever I connect to HSQLDB from my application deployed on eclipse Juno, it throws an exception as : java.

 

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

 

目录
打赏
0
0
0
0
95
分享
相关文章
Spring Boot 排除自动配置的 4 种方法,关键时刻很有用!
Spring Boot 提供的自动配置非常强大,某些情况下,自动配置的功能可能不符合我们的需求,需要我们自定义配置,这个时候就需要排除/禁用 Spring Boot 某些类的自动化配置了。
Spring Boot 排除自动配置的 4 种方法,关键时刻很有用!
搭建接口平台YApi详解(含搭建node环境)
搭建接口平台YApi详解(含搭建node环境)
260 0
使用Nexus上传JAR包的两种方法
使用Nexus上传JAR包的两种方法
3950 0
k8s场景测试之ingresss中geoip的使用
Geo是geographic的缩写,意思是地理的,GeoIP即为IP地理位置数据库,可以根据IP获得地理位置信息。GeoLite2是GeoIP2的免费版本,与GeoIP2数据库相比准确性较差。 GeoIP库可以根据IP地址(支持IPv4 和 IPv6), 定位该IP所在的 洲、经纬度、国家、省市、ASN 等信息。
357 0
只需一招,即使没有公网IP,也让你的WordPress博客面向全世界!
只需一招,即使没有公网IP,也让你的WordPress博客面向全世界!
k8s诊断之如何在ingress里面使用geoip2
某用户由于某些原因,需要在ACK上使用geoip2来限制国家级别的ip访问限制,如只允许中国访问,ingress 已经默认集成了geoip,但是geoip已经很久不维护了,信息不准确,因此促使了本篇文档的产生
691 0
【Axure教程】自动生成页码的中继器表格
【Axure教程】自动生成页码的中继器表格
前端案例-为盒子的四个角添加边框线
今天继续分享一个前端小demo来复习回顾一下知识点,依旧是很有趣的案例,分享给大家。 前端案例-为盒子的四个角添加边框线
481 0
前端案例-为盒子的四个角添加边框线