public interface ConnectionProxy
extends io.r2dbc.spi.Connection, io.r2dbc.spi.Wrapped<io.r2dbc.spi.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 |
---|---|
io.r2dbc.spi.Connection |
getTargetConnection()
Return the target
Connection of this proxy. |
io.r2dbc.spi.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–2019 Pivotal Software, Inc.. All rights reserved.