public com.sun.gjc.spi.base.ConnectionHolder | getConnection(java.sql.Connection conObject, com.sun.gjc.spi.ManagedConnection mcObject, javax.resource.spi.ConnectionRequestInfo criObject, boolean statementWrapping)To get an instance of ConnectionHolder30.
Will return a ConnectionHolder30 with or without wrapper
ConnectionHolder connection = null;
if (statementWrapping) {
connection = new ConnectionWrapper30(conObject, mcObject, criObject);
} else {
connection = new ConnectionHolder30(conObject, mcObject, criObject);
}
return connection;
|