| 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)
UnWrapperpublic Connection unwrap(Connection conn)
UnWrapperIllegalArgumentException if the passed
Connection is not supported (UnWrapper.canUnwrap(Connection) returns false}.public boolean canUnwrap(Statement st)
UnWrapperpublic Statement unwrap(Statement statement)
UnWrapperIllegalArgumentException if the passed
Statement is not supported (UnWrapper.canUnwrap(Statement) returns false}.Copyright © 1996–2019 Geotools. All rights reserved.