Hi. Look at https://issues.apache.org/jira/browse/OPENJPA-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
I checked out the source for 2.2.0, applied the changes recommended in the patch (even though it was for an older version) and it worked for me. -- View this message in context: http://openjpa.208410.n2.nabble.com/Constant-Joins-tp7566354p7568964.html Sent from the OpenJPA Users mailing list archive at Nabble.com.