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, close, commitTransaction, createBatch, createSavepoint, createStatement, getMetadata, getTransactionIsolationLevel, isAutoCommit, releaseSavepoint, rollbackTransaction, rollbackTransactionToSavepoint, setAutoCommit, setTransactionIsolationLevel, validate
Connection 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–2021 Pivotal Software, Inc.. All rights reserved.