Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 63458 invoked from network); 31 Oct 2007 20:57:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2007 20:57:17 -0000 Received: (qmail 59125 invoked by uid 500); 31 Oct 2007 20:57:05 -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 Delivered-To: moderator for jdo-dev@db.apache.org Received: (qmail 23400 invoked by uid 99); 31 Oct 2007 20:44:05 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elindauer@gmail.com designates 66.249.92.174 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=q+nKPqMZYEbQ6IrF2dx01/dg+GLRYvOXmCqj08I5uv0=; b=spsD7KD8zSrGvx97ZQMqcByUsH1fYo7p7nHO+WGWfDZb8qzwrDAnPfJrojSrygU3VqPGviuYJFVukjVyIy3st+jBo4qZZ6BtMcaB0WS/sp1ph2h8nPf36NTaqTouaj1tgssy50zDYxi9PyBJEH97AZVFbZpcZVBPUQrq4+k/tPU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=fEKWm5d6/CfrR8safOLjpRjP4VojU5upBmdd0HtjtTg7Nja7Miu+016H5+kLUjRt3SCd830kq7lNN44RmpVBMKi0Y/Ig5wiSw/0zHOxcr+MyQ6ObLhhNgS1VXS0Mq8/koBTOh2G214BkF8lVGaNSLGvgVzT/yDNwFe5rlUn3LPM= Message-ID: Date: Wed, 31 Oct 2007 16:43:44 -0400 From: "Eric Lindauer" To: jdo-dev@db.apache.org Subject: feature request MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9629_3988301.1193863424341" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_9629_3988301.1193863424341 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all, Long time JDO user, first time poster. I'd like to see JDO include a mechanism for accessing all the objects that are: a. enlisted in a particular transaction b. managed by a particular persistence manager in it's level 1 cache Either would do for my purposes, though I think they are both potentially useful. The most immediate need for these methods is to provide a mechanism for an application to recognize when the data in a particular PersistenceCapable object has changed, and make callbacks / refresh data / etc. I propose the following method signatures: in javax.jdo.PersistenceManager: public Collection getManagedObjects(); in javax.jdo.Transaction: public Collection getEnlistedObjects(); Thanks for your consideration. I apologize if I've written to the wrong list. Sincerely, Eric Lindauer ------=_Part_9629_3988301.1193863424341--