Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2a4de06

Browse files
committedAug 31, 2018
Resolves jakartaee#77.
1 parent 2ffea8c commit 2a4de06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/main/java/javax/persistence/EntityManagerFactory.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*
3333
* @since Java Persistence 1.0
3434
*/
35-
public interface EntityManagerFactory {
35+
public interface EntityManagerFactory extends AutoCloseable {
3636

3737
/**
3838
* Create a new application-managed <code>EntityManager</code>.
@@ -130,6 +130,7 @@ public interface EntityManagerFactory {
130130
* @throws IllegalStateException if the entity manager factory
131131
* has been closed
132132
*/
133+
@Override
133134
public void close();
134135

135136
/**

0 commit comments

Comments
 (0)
Please sign in to comment.