OPENJPA-1954: ArrayIndexOutOfBoundsException when querying on a version field that is in a MappedSuperclass - back ported to 2.1.x Rick Curtis's commit to trunk.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1533233 13f79535-47bb-0310-9956-ffa450edef68