Skip to content

Commit

Permalink
Resolves jakartaee#77
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Östlund <erik.ostlund@gmail.com>
  • Loading branch information
tofflos committed Aug 31, 2018
1 parent 2ffea8c commit 158f778
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/javax/persistence/EntityManagerFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
*
* @since Java Persistence 1.0
*/
public interface EntityManagerFactory {
public interface EntityManagerFactory extends AutoCloseable {

/**
* Create a new application-managed <code>EntityManager</code>.
Expand Down Expand Up @@ -130,6 +130,7 @@ public interface EntityManagerFactory {
* @throws IllegalStateException if the entity manager factory
* has been closed
*/
@Override
public void close();

/**
Expand Down

0 comments on commit 158f778

Please sign in to comment.