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