|
com.im.commons.db 5.9.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.im.commons.db.util.ConnectionHandlerSupport
public final class ConnectionHandlerSupport
| Constructor Summary | |
|---|---|
ConnectionHandlerSupport()
|
|
| Method Summary | |
|---|---|
static ConnectionHandler |
prepareConnectionHandler(DataSource dataSource,
String jchemPropertiesTableName)
TODO - this javadoc seems wrong. |
static ConnectionHandler |
prepareConnectionHandler2(DataSource dataSource,
String jchemPropertiesTableName)
Generate a ConnectionHandler. |
static ConnectionHandler |
prepareConnectionHandlerMutliConnectionNoTx(DataSource dataSource,
String schemaPlusProptable)
Special case of creating a ConnectionHandler that only has connection details, not an actual physical connection. |
static void |
releaseConnectionHandler(ConnectionHandler ch,
DataSource src)
Helper that releases the connection handler. |
static void |
releaseConnectionHandler(ConnectionHandler ch,
DataSource src,
String msg1,
String msg2)
|
static Connection |
unwrapConnection(Connection c)
Unwraps the connection to the underlying raw one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionHandlerSupport()
| Method Detail |
|---|
public static void releaseConnectionHandler(ConnectionHandler ch,
DataSource src)
public static void releaseConnectionHandler(ConnectionHandler ch,
DataSource src,
String msg1,
String msg2)
public static Connection unwrapConnection(Connection c)
popConnectionWrapper(java.sql.Connection). The connection can have only one wrapper
registered at a time; more wrappers will cause a sanity check assertion.
public static ConnectionHandler prepareConnectionHandler(DataSource dataSource,
String jchemPropertiesTableName)
releaseConnectionHandler(chemaxon.util.ConnectionHandler, javax.sql.DataSource) to release resources associated with the ConnectionHandler including the
connection
public static ConnectionHandler prepareConnectionHandler2(DataSource dataSource,
String jchemPropertiesTableName)
dataSource - jchemPropertiesTableName -
public static ConnectionHandler prepareConnectionHandlerMutliConnectionNoTx(DataSource dataSource,
String schemaPlusProptable)
dataSource - schemaPlusProptable -
|
com.im.commons.db 5.9.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||