• Post Reply Bookmark Topic Watch Topic
  • New Topic

HSQLDB: Caused by: org.hsqldb.HsqlException: user lacks privilege or object not found:  RSS feed

 
chouhan pankaj
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Experts,

I am using HSQLDB in my POC. Following are the details:
Type: HSQL Database Engine Server
Driver: org.hsqldb.jdbcDriver
URL:jdbc:hsqldb:file:ruledb
User:sa
Password:
OS: Windows7
HSQLDB version: 1.7.1
JDK Version: 7

Following is the code snippet, I am using:



I am getting following error on statement: stmt = con.prepareStatement(sql);



I request experts to please correct me, where I am going wrong?
Thanks in advance!!!

 
Ranchhor Das
Greenhorn
Posts: 3
Java Linux Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Today I encountered with the same issue.

In my case, I had a catalog attribute defined with @Table in my DB entity class. After removing the catalog it worked perfectly.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!