com.nurelm.nucontent.patch
Class DBCon

java.lang.Object
  extended bycom.nurelm.nucontent.patch.DBCon

public class DBCon
extends java.lang.Object

Used to obtain DB Connection.


Constructor Summary
DBCon()
           
 
Method Summary
 void closenew()
          Closes the DB connection.
 void closeold()
          Closes the DB connection.
 java.sql.Connection getConnectionnew()
          Returns a connection to the database.
 java.sql.Connection getConnectionold()
          Returns a connection to the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBCon

public DBCon()
Method Detail

getConnectionold

public java.sql.Connection getConnectionold()
Returns a connection to the database.

Returns:
a connection object

getConnectionnew

public java.sql.Connection getConnectionnew()
Returns a connection to the database.

Returns:
a connection object

closeold

public void closeold()
Closes the DB connection.


closenew

public void closenew()
Closes the DB connection.