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.

Reply via email to