Steps for Configuring the HSQLDB in Eclipse using Jar

Step 1:Open Eclipse and add following JARS:

Step 2:Go to lib\hsqldb.jar in eclipse -> expand org.hsqldb -> Right click on Server.class->Run AsJava Application.

Step 3:For Standalone Application :Go to lib\hsqldb.jar in eclipse -> expand org.hsqldb.util->Right click on DatabaseManager.class -> Run As Java Application. For Web Application:Add hsqldb.jar file at WebContent/WEB-INF/lib and libraries. Go to libraries\hsqldb.jar in eclipse -> expand org.hsqldb.util-> Right click on DatabaseManager.class -> Run As Java Application. Then you will get following screen:



Step 4: Select connection Type, Driver , URL , User and Password and then click on Ok button: • For Standalone application select “HSQL Database Engine Standalone”. • For Web application select “HSQL Database Engine Server”.



You will get following screen:


Step 5: Go to “Command“ to Create, Select , Insert ,Update , Delete ,Drop tables.



Links to Download Jar Files:
http://www.findjar.com/index.x
http://www.jarfinder.com/
http://axis.apache.org/axis2/java/core/download.cgi

Comments

Popular posts from this blog

Edit/Modify existing PDF using Java(iText)

Verify Digital Signature in PDF using Java(iText) and cacerts

Steps to create SOAP Web service using Eclipse