improve java.sql.Wrapper support

This commit is contained in:
wenshao
2012-12-19 14:58:23 +08:00
parent ce9c120dbe
commit 2a028bdc05
28 changed files with 1203 additions and 125 deletions
@@ -54,7 +54,7 @@ public abstract class WrapperProxyImpl implements WrapperProxy {
return false;
}
if (iface.isInstance(this)) {
if (iface == this.getClass()) {
return true;
}
@@ -67,8 +67,8 @@ public abstract class WrapperProxyImpl implements WrapperProxy {
if (iface == null) {
return null;
}
if (iface.isInstance(this)) {
if (iface == this.getClass()) {
return (T) this;
}