implements PgConnection isWrapperFor interface

This commit is contained in:
justbk
2021-07-22 21:29:59 +08:00
committed by justbk2015
parent db3b76669e
commit 28d4acb81b

View File

@ -1652,7 +1652,7 @@ public class PgConnection implements BaseConnection {
@Override
public boolean isWrapperFor(Class<?> iface) throws SQLException {
checkClosed();
throw org.postgresql.Driver.notImplemented(this.getClass(), "isWrapperFor(Class<?>)");
return iface.isAssignableFrom(getClass());
}
@Override