
Logger.getLogger(()).log(Level. (" last name: " + rs.getString("lastname")) (" first name: " + rs.getString("firstname")) ResultSet rs = statement.executeQuery("SELECT * FROM \"User\"") Statement statement = con.createStatement() It can contain directory names relative to theĬon = DriverManager.getConnection("jdbc:hsqldb:file:" + db_file_name_prefix, // filenames prefix 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
HOW TO USE OPENOFFICE BASE DRIVER
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
HOW TO USE OPENOFFICE BASE ZIP
Extract the zip file, search and find jdbc driver files inside lib directory: hsqldb.jar.That is the specific driver for HSQL in Java. Apache OpenOffice Base VS MySQL Compare Apache OpenOffice Base VS MySQL and see what are their differences. Download “ hsqldb_1_8_0_10.zip” (HSQLD DB ENGINE) from.Rename all the files by putting the same prefix before the file name, thus leaving: mydb.backup, mydb.data, mydb.properties, mydb.script.

Copy the files into a separate location, i.e C:\mydb.Rename the mydb.odb file in mydb.zip, extract “database” directory from it, so you can find these files: backup, data, properties, script.

