public class JdbcNativeExtractor
extends java.lang.Object
com.mchange.v2.c3p0.C3P0ProxyConnection#rawConnectionOperation,
SimpleNativeJdbcExtractor| Constructor and Description |
|---|
JdbcNativeExtractor() |
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
getNativeConnection(java.sql.Connection con)
Retrieve the Connection via C3P0's
rawConnectionOperation API,
using the getRawConnection as callback to get access to the
raw Connection (which is otherwise not directly supported by C3P0). |
static java.sql.Connection |
getRawConnection(java.sql.Connection con) |
public static java.sql.Connection getRawConnection(java.sql.Connection con)
public java.sql.Connection getNativeConnection(java.sql.Connection con)
throws java.sql.SQLException
rawConnectionOperation API,
using the getRawConnection as callback to get access to the
raw Connection (which is otherwise not directly supported by C3P0).java.sql.SQLExceptiongetRawConnection(java.sql.Connection)