![]() db_file_name_prefix is used to open or create files that hold the state This will load the db files and start the hsqldb.jar should be in the class path or made part of the current jar Load the HSQL Database Engine JDBC driver String db_file_name_prefix = "c:\\mydbdir\\mydb" Public static void main(String args) throws ParseException */ public static void main ( String args ) throws ParseException Import import import import import import import import public class Main The other is to use the Java JDBC API to connect to the database, topic not covered in this post. I will just show you the code that you can use as a example.Put hsqldb.jar and into classpath project.Extract the zip file, search and find jdbc driver files inside lib directory: hsqldb.jar.That is the specific driver for HSQL in Java. Download “ hsqldb_1_8_0_10.zip” (HSQLD DB ENGINE) from. ![]()
0 Comments
Leave a Reply. |