Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-735

Make PersistenceManager and Query support AutoCloseable (JDK1.7+)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • JDO 3.2
    • api, specification, tck
    • None

    Description

      So then it can be used with JDK1.7+ try-with-resources, as per http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html

      Attachments

        1. CloseWithActiveTxRollsBack.java
          3 kB
          Andy Jefferson
        2. JDO-735-patch4.txt
          20 kB
          Michael Bouschen

        Issue Links

          Activity

            People

              mbo Michael Bouschen
              andyj Andy Jefferson
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: