Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 9409 invoked from network); 6 Jul 2007 14:52:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jul 2007 14:52:28 -0000 Received: (qmail 94208 invoked by uid 500); 6 Jul 2007 14:52:29 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 94131 invoked by uid 500); 6 Jul 2007 14:52:29 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 94018 invoked by uid 99); 6 Jul 2007 14:52:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2007 07:52:28 -0700 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; Fri, 06 Jul 2007 07:52:25 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2C8AD7141F4 for ; Fri, 6 Jul 2007 07:52:05 -0700 (PDT) Message-ID: <12821898.1183733525168.JavaMail.jira@brutus> Date: Fri, 6 Jul 2007 07:52:05 -0700 (PDT) From: "Patrick Linskey (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Resolved: (OPENJPA-274) JPQL queries cannot access version fields, including bulk updates In-Reply-To: <26693259.1183321624755.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/OPENJPA-274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey resolved OPENJPA-274. ------------------------------------- Resolution: Fixed > JPQL queries cannot access version fields, including bulk updates > ----------------------------------------------------------------- > > Key: OPENJPA-274 > URL: https://issues.apache.org/jira/browse/OPENJPA-274 > Project: OpenJPA > Issue Type: Bug > Components: jdbc, query > Affects Versions: 0.9.0, 0.9.6, 0.9.7 > Reporter: Patrick Linskey > Assignee: Patrick Linskey > Fix For: 1.0.0 > > Attachments: bulk-updates.patch > > > OpenJPA throws an exception if a query uses a field mapped as a @Version. This happens because FieldMappings for fields that are @Version do not have any columns, since the columns are managed separately by the owning ClassMapping's version indicator. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.