DBConnection
manages connections to databases. It implements two Design-Patterns:
DBConnection
is created for every thread. This instance can be fetched with getInstance()
.Connection
class, providing built-in exception logging to stderr and a timestamp which indicates how old the Connection
is. DBConnection
's timestamp is used by the ConnectionPool
to expire connections when they get too old. Do not use this class as a shared resource (it is not thread-safe).
@author Frank Y. Kim
@author John D. McNally
@author Daniel L. Rall
@author Magn�s ��r Torfason
@author Jon S. Stevens
@version $Id$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|