diff --git a/core/src/main/java/com/zaxxer/hikari/proxy/StatementProxy.java b/core/src/main/java/com/zaxxer/hikari/proxy/StatementProxy.java index 32bf8034..f3b771b4 100644 --- a/core/src/main/java/com/zaxxer/hikari/proxy/StatementProxy.java +++ b/core/src/main/java/com/zaxxer/hikari/proxy/StatementProxy.java @@ -32,10 +32,10 @@ public abstract class StatementProxy implements Statement protected final IHikariConnectionProxy connection; - protected boolean isClosed; - protected final Statement delegate; + private boolean isClosed; + static { PROXY_FACTORY = JavassistProxyFactoryFactory.getProxyFactory();