Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 96696 invoked from network); 10 Nov 2007 20:45:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Nov 2007 20:45:11 -0000 Received: (qmail 30703 invoked by uid 500); 10 Nov 2007 20:44:59 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 30692 invoked by uid 99); 10 Nov 2007 20:44:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Nov 2007 12:44:59 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Nov 2007 20:45:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0F214714248 for ; Sat, 10 Nov 2007 12:44:51 -0800 (PST) Message-ID: <7046545.1194727491059.JavaMail.jira@brutus> Date: Sat, 10 Nov 2007 12:44:51 -0800 (PST) From: "Andy Jefferson (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Updated: (JDO-548) PM.getManagedObjects() : access to the objects enlisted in a transaction In-Reply-To: <20780970.1194452751130.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Jefferson updated JDO-548: ------------------------------- Attachment: (was: api2.managedobjects.patch) > PM.getManagedObjects() : access to the objects enlisted in a transaction > ------------------------------------------------------------------------ > > Key: JDO-548 > URL: https://issues.apache.org/jira/browse/JDO-548 > Project: JDO > Issue Type: New Feature > Components: api2, api2-legacy, specification > Reporter: Andy Jefferson > Fix For: JDO 2 maintenance release 1 > > > 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[]. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.