Description
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.