de.unidu.is.util
Class HSQLDBFileDB

java.lang.Object
  extended byde.unidu.is.util.DB
      extended byde.unidu.is.util.HSQLDBFileDB

public class HSQLDBFileDB
extends DB

This class encapsulates a HSQLDB 1.7.1 RDBMS (using JDBC) which saves data into files, where connections are managed by a connection pool.

For HSQLDB 1.7.2, the DB URI prefix must be "jdbc:hsqldb:file:".

This class uses the logger "unidu.db" by default.

Since:
2005-02-25
Version:
$Revision: 1.1 $, $Date: 2005/02/25 12:50:35 $
Author:
Henrik Nottelmann

Field Summary
 
Fields inherited from class de.unidu.is.util.DB
dataSource, dataSources, dbURI, dbUser, formatter, logger, result2conn, result2stmt
 
Constructor Summary
HSQLDBFileDB(java.io.File file)
          Creates a new instance.
HSQLDBFileDB(java.lang.String filename)
          Creates a new instance.
 
Methods inherited from class de.unidu.is.util.DB
close, close, createTable, createTableIfNotExists, dropTable, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdateIgnoreError, existsTable, freeConnection, getColumns, getConnection, getDbURI, getDbUser, insert, insert, insertIfMissing, insertIfMissing, makeIdentifier, remove, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HSQLDBFileDB

public HSQLDBFileDB(java.lang.String filename)
Creates a new instance.


HSQLDBFileDB

public HSQLDBFileDB(java.io.File file)
Creates a new instance.