Constructor and Description |
---|
DBCPUnWrapper() |
Modifier and Type | Method and Description |
---|---|
boolean |
canUnwrap(Connection conn)
Returns true if this unwrapper knows how to unwrap the specified connection
|
boolean |
canUnwrap(Statement st)
Returns tru if this unwrapper knows how to unwrap the specified statement
|
Connection |
unwrap(Connection conn)
Returns the unwrapped connection, of throws
IllegalArgumentException if the passed
Connection is not supported (UnWrapper.canUnwrap(Connection) returns false}. |
Statement |
unwrap(Statement statement)
Returns the unwrapped statement, of throws
IllegalArgumentException if the passed
Statement is not supported (UnWrapper.canUnwrap(Statement) returns false}. |
public boolean canUnwrap(Connection conn)
UnWrapper
public Connection unwrap(Connection conn)
UnWrapper
IllegalArgumentException
if the passed
Connection
is not supported (UnWrapper.canUnwrap(Connection)
returns false}.public boolean canUnwrap(Statement st)
UnWrapper
public Statement unwrap(Statement statement)
UnWrapper
IllegalArgumentException
if the passed
Statement
is not supported (UnWrapper.canUnwrap(Statement)
returns false}.Copyright © 1996–2019 Geotools. All rights reserved.