From 1a87adca088c7b55f05726d25c9d6847dd5bb4e4 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Tue, 28 Jan 2014 17:23:19 -0600 Subject: [PATCH] HHH-8853 - Tomcat jdbc-pool interceptor exception --- .../hibernate/engine/jdbc/batch/internal/NonBatchingBatch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/NonBatchingBatch.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/NonBatchingBatch.java index f3662f8ab1..d640bab003 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/NonBatchingBatch.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/NonBatchingBatch.java @@ -73,7 +73,7 @@ public class NonBatchingBatch extends AbstractBatchImpl { } } - releaseStatements(); + getStatements().clear(); } @Override