From f48441c17a1b21f54e2ec62d3529ba748a62d9ef Mon Sep 17 00:00:00 2001 From: "A. Abram White" Date: Fri, 15 Dec 2006 01:38:44 +0000 Subject: [PATCH] git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@487421 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/openjpa/persistence/EntityManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java b/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java index e8df235cc..0e9a9fe92 100644 --- a/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java +++ b/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java @@ -977,11 +977,11 @@ public class EntityManagerImpl } public void close() { + assertOpen(); _broker.close(); } public boolean isOpen() { - assertOpen(); return !_broker.isCloseInvoked(); }