From open-jpa-dev-return-2675-apmail-incubator-open-jpa-dev-archive=incubator.apache.org@incubator.apache.org Tue Mar 13 02:12:33 2007 Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 64479 invoked from network); 13 Mar 2007 02:12:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2007 02:12:31 -0000 Received: (qmail 66837 invoked by uid 500); 13 Mar 2007 02:12:39 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 66787 invoked by uid 500); 13 Mar 2007 02:12:38 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 66769 invoked by uid 99); 13 Mar 2007 02:12:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2007 19:12:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Mon, 12 Mar 2007 19:12:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4A36A714041 for ; Mon, 12 Mar 2007 19:12:09 -0700 (PDT) Message-ID: <18909182.1173751929276.JavaMail.jira@brutus> Date: Mon, 12 Mar 2007 19:12:09 -0700 (PDT) From: "Patrick Linskey (JIRA)" To: open-jpa-dev@incubator.apache.org Subject: [jira] Created: (OPENJPA-169) Queries against dirty extents and flushing: should provide an option to set savepoint, flush, query, rollback to savepoint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Queries against dirty extents and flushing: should provide an option to set savepoint, flush, query, rollback to savepoint -------------------------------------------------------------------------------------------------------------------------- Key: OPENJPA-169 URL: https://issues.apache.org/jira/browse/OPENJPA-169 Project: OpenJPA Issue Type: Improvement Reporter: Patrick Linskey When issuing a JPQL query after changing data that is involved in the access path of the query, OpenJPA must either flush before querying (and therefore obtain a Connection), or load all instances of the potentially-dirty classes into memory and evaluate the query in memory. Now that OpenJPA supports savepoints, we should provide an option to set savepoint, flush, query, and then roll the savepoint back. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.