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

PM.getManagedObjects() : access to the objects enlisted in a transaction

    XMLWordPrintableJSON

Details

    Description

      It would be desirable to provide access to the objects enlisted in the transaction of a PersistenceManager. It is proposed that this be via the following methods on javax.jdo.PersistenceManager.

      api2
      Collection getManagedObjects(); // Return all enlisted objects
      Collection getManagedObjects(ObjectState ... states); // Return enlisted objects in the specified states

      api2-legacy
      Collection getManagedObjects(); // Return all enlisted objects

      The return type could just as easily be Object[].

      Attachments

        1. api2.managedobjects.patch
          1 kB
          Andy Jefferson
        2. api2-legacy.managedobjects.patch
          0.9 kB
          Andy Jefferson
        3. jdo-548.patch
          1 kB
          Craig L Russell

        Activity

          People

            andyj Andy Jefferson
            andyj Andy Jefferson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: