com.tensegrity.wpalo.server.dbconnection
Class HSqlDbConnection

java.lang.Object
  extended by com.tensegrity.wpalo.server.dbconnection.SqlDbConnection
      extended by com.tensegrity.wpalo.server.dbconnection.HSqlDbConnection
All Implemented Interfaces:
org.palo.viewapi.DbConnection

public class HSqlDbConnection
extends SqlDbConnection

HSqlDbConnection TODO DOCUMENT ME

Version:
$Id: HSqlDbConnection.java,v 1.5 2009/12/17 16:14:20 PhilippBouillon Exp $

Field Summary
 
Fields inherited from class com.tensegrity.wpalo.server.dbconnection.SqlDbConnection
commands, connection, credentials
 
Method Summary
 void disconnect()
           
protected  java.lang.String getSqlHomeDir()
          Specifies the home directory of where to sql commands and the database credentials properties files are stored.
protected  void initialize()
          Initialises the newly created connection.
static HSqlDbConnection newInstance()
           
 
Methods inherited from class com.tensegrity.wpalo.server.dbconnection.SqlDbConnection
buildQuery, connect, getConnection, getSqlCommands, isConnected, loadProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static HSqlDbConnection newInstance()

getSqlHomeDir

protected final java.lang.String getSqlHomeDir()
Description copied from class: SqlDbConnection
Specifies the home directory of where to sql commands and the database credentials properties files are stored.

Specified by:
getSqlHomeDir in class SqlDbConnection
Returns:
the home directory without an ending '/'

initialize

protected final void initialize()
Description copied from class: SqlDbConnection
Initialises the newly created connection.

Specified by:
initialize in class SqlDbConnection

disconnect

public void disconnect()
Specified by:
disconnect in interface org.palo.viewapi.DbConnection
Overrides:
disconnect in class SqlDbConnection