• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic