|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.db.ConnectionManager
Central location for obtaining database connection.
Field Summary | |
static String |
versionId
|
Constructor Summary | |
ConnectionManager()
|
Method Summary | |
static Connection |
getConnection()
Deprecated. Use Session.getConnection() instead. |
static Connection |
getCurrentThreadConnection()
Deprecated. Use Session.getConnection() instead. |
static void |
returnConnection(Connection conn)
Deprecated. Connections acquired through Session.getConnection() will automatically be returned to the pool at the end of the transaction. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String versionId
Constructor Detail |
public ConnectionManager()
Method Detail |
public static Connection getConnection() throws SQLException
Session.getConnection()
instead.
SQLException
public static void returnConnection(Connection conn) throws SQLException
conn
- the connection to return
SQLException
public static Connection getCurrentThreadConnection()
Session.getConnection()
instead.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |