Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 90684 invoked from network); 12 May 2008 21:44:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 May 2008 21:44:17 -0000 Received: (qmail 93475 invoked by uid 500); 12 May 2008 21:44:19 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 93452 invoked by uid 500); 12 May 2008 21:44:19 -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 93441 invoked by uid 99); 12 May 2008 21:44:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2008 14:44:19 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2008 21:43:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 943C5234C10C for ; Mon, 12 May 2008 14:43:55 -0700 (PDT) Message-ID: <5995865.1210628635592.JavaMail.jira@brutus> Date: Mon, 12 May 2008 14:43:55 -0700 (PDT) From: "Patrick Linskey (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-595) An error occurred while parsing the query filter "SELECT t FROM PessimisticA t WHERE t.id = ?1". Error message: No field named "id" in class "t" In-Reply-To: <1270786121.1210273554814.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-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-595: ------------------------------------ Fix Version/s: 1.1.0 > An error occurred while parsing the query filter "SELECT t FROM PessimisticA t WHERE t.id = ?1". Error message: No field named "id" in class "t" > ------------------------------------------------------------------------------------------------------------------------------------------------ > > Key: OPENJPA-595 > URL: https://issues.apache.org/jira/browse/OPENJPA-595 > Project: OpenJPA > Issue Type: Bug > Components: query > Affects Versions: 1.2.0 > Reporter: Catalina Wei > Assignee: Catalina Wei > Fix For: 1.1.0, 1.2.0 > > > A common path() action in JPQL.jjt being used for Enum literal causes a simple aliase resolution to fail in > org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter "SELECT t FROM PessimisticA t WHERE t.id = ?1". Error message: No field named "id" in class "t". > This could happen in an environment where there is a "t" class visible in the classpath. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.