openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jared Pearson <>
Subject OpenJPA 1.2.2 - JPQL Constructor Expression Arguments
Date Tue, 13 Sep 2011 19:24:59 GMT
The following JPQL is not working in OpenJPA 1.2.2 because the JPQL
parser expects all constructor parameters to have at DOT.  It appears
that the OpenJPA 2 parser has been corrected.

select new com.test.Context(parent,child) from Parent parent join
parent.child child

I believe the issue has to do with the path() expression of the JavaCC
parser.  Compare the path() parsing for 1.2.2 with that of the trunk.

 @ line 437
@ line 467

I couldn't find any current JIRA bugs for this issue - do you know if
this is a known issue?

View raw message