mirror of https://github.com/apache/openjpa.git
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@487421 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d823825a34
commit
f48441c17a
|
@ -977,11 +977,11 @@ public class EntityManagerImpl
|
||||||
}
|
}
|
||||||
|
|
||||||
public void close() {
|
public void close() {
|
||||||
|
assertOpen();
|
||||||
_broker.close();
|
_broker.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isOpen() {
|
public boolean isOpen() {
|
||||||
assertOpen();
|
|
||||||
return !_broker.isCloseInvoked();
|
return !_broker.isCloseInvoked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue