| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Unwrapper |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final Unwrapper INSTANCE | |
| DefaultUnwrapperProvider | back to summary |
|---|---|
| pack-priv DefaultUnwrapperProvider() | |
| provide | back to summary |
|---|---|
| public Unwrapper provide() Implements org. Doc from org. Provide an unwrapper for JDBC types.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static int | maxUnwrappedConnections
[#3696] We shouldn't infinitely attempt to unwrap connections. |
| private static int | maxUnwrappedStatements
[#7589] No infinite attempts to unwrap statements, either. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static final boolean | |
| public <T> T | unwrap(Wrapper wrapper, Class<T> iface)
Implements org. Wrapper.
|
| private <T> T | |
| private <T> T |
| maxUnwrappedConnections | back to summary |
|---|---|
| private static int maxUnwrappedConnections [#3696] We shouldn't infinitely attempt to unwrap connections. | |
| maxUnwrappedStatements | back to summary |
|---|---|
| private static int maxUnwrappedStatements [#7589] No infinite attempts to unwrap statements, either. | |
| DefaultUnwrapper | back to summary |
|---|---|
| pack-priv DefaultUnwrapper() | |
| isWrapperFor | back to summary |
|---|---|
| pack-priv static final boolean isWrapperFor(Wrapper w, Class<?> iface) | |
| unwrap | back to summary |
|---|---|
| public <T> T unwrap(Wrapper wrapper, Class<T> iface) Implements org. Doc from org. Unwrap a wrapped type from a JDBC
| |
| unwrap | back to summary |
|---|---|
private <T> T unwrap(Connection wrapper, Class<T> iface)
| |
| unwrap | back to summary |
|---|---|
private <T> T unwrap(Statement wrapper, Class<T> iface)
| |