de.unidu.is.util
Class HSQLDBEmbeddedDB

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

public class HSQLDBEmbeddedDB
extends DB

This class encapsulates a HSQLDB embedded (in memory) RDBMS (using JDBC), where connections are managed by a connection pool.

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

Since:
2004-01-04
Version:
$Revision: 1.5 $, $Date: 2005/02/21 17:29:29 $
Author:
Henrik Nottelmann

Field Summary
 
Fields inherited from class de.unidu.is.util.DB
dataSource, dataSources, dbURI, dbUser, formatter, logger, result2conn, result2stmt
 
Constructor Summary
HSQLDBEmbeddedDB()
          Creates a new instance.
HSQLDBEmbeddedDB(org.apache.log4j.Logger logger)
          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

HSQLDBEmbeddedDB

public HSQLDBEmbeddedDB()
Creates a new instance.


HSQLDBEmbeddedDB

public HSQLDBEmbeddedDB(org.apache.log4j.Logger logger)
Creates a new instance.

Parameters:
logger - DB logger