openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catalina Wei (JIRA)" <j...@apache.org>
Subject [jira] Created: (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"
Date Thu, 08 May 2008 19:05:54 GMT
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


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.


Mime
View raw message