Community
Participate
Working Groups
Build Identifier: 7608 org.eclipse.persistence.internal.jpa.QueryHintsHandler, function QueryHintsHandler$BatchHint.applyToDatabaseQuery(Object, DatabaseQuery, ClassLoader, AbstractSession), lines 1192 to 1205. While loop iterates over the dot expressions but the line: DatabaseMapping mapping = descriptor.getObjectBuilder().getMa.... always asks jectfor the mapping ob to the same descriptor (descriptor never changes inside the loop), so second iteration returns null throwing an exception. Previous versions of eclipselink don't have this bug. Reproducible: Always Steps to Reproduce: String qs = "SELECT e FROM Car e "; Query q = em.createQuery(qs); q.setHint(QueryHints.BATCH, "e.engine.brand");
Setting target and priority. See the following page for details of the meanings of these fields: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines
Setting as dup of 320254 because that bug has the contributed patch for this issue. *** This bug has been marked as a duplicate of bug 320254 ***
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink