diff --git a/src/java/com/samskivert/depot/PersistenceContext.java b/src/java/com/samskivert/depot/PersistenceContext.java index 1e6812f..371f0f1 100644 --- a/src/java/com/samskivert/depot/PersistenceContext.java +++ b/src/java/com/samskivert/depot/PersistenceContext.java @@ -560,9 +560,7 @@ public class PersistenceContext // close all opened statements; if any close fails, abort the close process as // the whole connection is now unusable and will be discarded for (Statement stmt : stmts) { - if (!stmt.isClosed()) { - stmt.close(); - } + stmt.close(); } } // if auto-commit is off and this is a write operation, push it through