ie.deri.wsmx.dbManager.dbUtil
Class UtilDB

java.lang.Object
  extended byie.deri.wsmx.dbManager.dbUtil.UtilDB
All Implemented Interfaces:
java.io.Serializable

public class UtilDB
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
(package private)  java.sql.Connection connection
           
 
Constructor Summary
UtilDB()
           
UtilDB(java.lang.String database)
           
 
Method Summary
 void closeConnection()
           
 void connect()
           
 java.sql.ResultSet executeQuery(java.lang.String sqlStatement)
           
 int executeUpdate(java.lang.String sqlStatement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connection

java.sql.Connection connection
Constructor Detail

UtilDB

public UtilDB()

UtilDB

public UtilDB(java.lang.String database)
Method Detail

connect

public void connect()

executeQuery

public java.sql.ResultSet executeQuery(java.lang.String sqlStatement)
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

executeUpdate

public int executeUpdate(java.lang.String sqlStatement)
                  throws DBManagerException
Throws:
DBManagerException

closeConnection

public void closeConnection()