Skip to main content

[jpa-spec issues] [JIRA] Created: (JPA_SPEC-77) EntityManager(Factory) should implement AutoCloseable

  • From: "braghest (JIRA)" < >
  • To:
  • Subject: [jpa-spec issues] [JIRA] Created: (JPA_SPEC-77) EntityManager(Factory) should implement AutoCloseable
  • Date: Sun, 13 Apr 2014 15:44:49 +0000 (UTC)
  • Auto-submitted: auto-generated

EntityManager(Factory) should implement AutoCloseable
-----------------------------------------------------

                 Key: JPA_SPEC-77
                 URL: https://java.net/jira/browse/JPA_SPEC-77
             Project: jpa-spec
          Issue Type: Improvement
            Reporter: braghest
            Priority: Minor


{{EntityManager}} and {{EntityManagerFactory}} have {{#close()}} methods but 
do not implement {{AutoCloseable}}. Implementing {{AutoCloseable}} would 
allow them to be used in Java 7 try-with-resource statement.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[jpa-spec issues] [JIRA] Created: (JPA_SPEC-77) EntityManager(Factory) should implement AutoCloseable

braghest (JIRA) 04/13/2014
 
 
Close
loading
Please Confirm
Close