Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HSQLDB - Java Database Engine

 
swapna Kadali
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am trying to write a small application in which i an using HSQLDB as my database, connecting thru JDBC. This is my first app using HSQLDB. I read the complete java docs for HSQLDB from, http://hsqldb.sourceforge.net/web/hsqlDocsFrame.html
I also refered the sample code example they have in the site, ofcourse its good but i tried to use that and it didnt work for me. Can anybody pls give me some idea, if they have done this before.
Thanks in advance,
Swapna
 
Joe Ess
Bartender
Posts: 9312
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by swapna Kadali:

I also refered the sample code example they have in the site, ofcourse its good but i tried to use that and it didnt work for me. Can anybody pls give me some idea, if they have done this before.

What is the nature of the problem you are experiencing?
 
swapna Kadali
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Joe,
Thanks for the reply. But as I told you in my earlier post, this is my first app and dont know much about hsqldb, so just typed in the code as is from the sample in Notepad and compiled as I dont have any IDE for java at my work but I shall go home and try it in NetBeans (which our professor recommended us) and find out the problem. But I think I can do upto establishing connection and doing rest everything with database results.
But my question is where to create table, in the application? I downloaded the zip file for hsqldb and extracted it to lib directory of my app. I shall get back to you again.
Thanks,
Swapna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic