Wrapped mechanism instead.@Deprecated public interface ConnectionProxy extends Connection, Wrapped<Connection>
Connection to be implemented by Connection proxies. Allows access to the underlying target
Connection.
This interface can be checked when there is a need to cast to a native R2DBC Connection.
| Modifier and Type | Method and Description |
|---|---|
Connection |
getTargetConnection()
Deprecated.
Return the target
Connection of this proxy. |
beginTransaction, beginTransaction, close, commitTransaction, createBatch, createSavepoint, createStatement, getMetadata, getTransactionIsolationLevel, isAutoCommit, releaseSavepoint, rollbackTransaction, rollbackTransactionToSavepoint, setAutoCommit, setLockWaitTimeout, setStatementTimeout, setTransactionIsolationLevel, validateConnection getTargetConnection()
Connection of this proxy.
This will typically be the native driver Connection or a wrapper from a connection pool.
IllegalStateException - in case the connection has already been closed.Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.