Entity Type Expression unnecessary cross join

2013-05-17 Thread Gennady Pavlov
In org.apache.openjpa.jdbc.kernel.exps.TypeLit#calculateValue exists follow expression: sel.select(((ClassMapping) getMetaData()).getPrimaryKeyColumns(), lstate.joins); Why is it there? As a result of this is appear unnecessary cross join with subclass table.

[jira] [Commented] (OPENJPA-1912) enhancer generates invalid code if fetch-groups is activated

2013-05-17 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13661057#comment-13661057 ] ASF subversion and git services commented on OPENJPA-1912: --

[jira] [Commented] (OPENJPA-1912) enhancer generates invalid code if fetch-groups is activated

2013-05-17 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13661155#comment-13661155 ] ASF subversion and git services commented on OPENJPA-1912: --