com.tensegrity.wpalo.server.dbconnection
Class MySqlDbConnection

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

public class MySqlDbConnection
extends SqlDbConnection

MySqlDbConnection TODO DOCUMENT ME

Version:
$Id: MySqlDbConnection.java,v 1.3 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
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 MySqlDbConnection newInstance()
           
 
Methods inherited from class com.tensegrity.wpalo.server.dbconnection.SqlDbConnection
buildQuery, connect, disconnect, 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 MySqlDbConnection 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