• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!!!

 
Greenhorn
Posts: 3
Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Get me the mayor's office! I need to tell her about this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic