change
This commit is contained in:
parent
ff1ab88cf3
commit
8b6b8192dc
|
@ -246,17 +246,17 @@ public abstract class AbstractStatement implements Statement {
|
||||||
return this.closeOnCompletion;
|
return this.closeOnCompletion;
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Override
|
@Override
|
||||||
// public <T> T unwrap(Class<T> iface) throws SQLException {
|
public <T> T unwrap(Class<T> iface) throws SQLException {
|
||||||
// try {
|
try {
|
||||||
// return iface.cast(this);
|
return iface.cast(this);
|
||||||
// } catch (ClassCastException cce) {
|
} catch (ClassCastException cce) {
|
||||||
// throw new SQLException("Unable to unwrap to " + iface.toString());
|
throw new SQLException("Unable to unwrap to " + iface.toString());
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
//
|
|
||||||
// @Override
|
@Override
|
||||||
// public boolean isWrapperFor(Class<?> iface) throws SQLException {
|
public boolean isWrapperFor(Class<?> iface) throws SQLException {
|
||||||
// return iface.isInstance(this);
|
return iface.isInstance(this);
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue