| Summary: | EJBQueryImpl executes readObjectQuery twice | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Doug Clarke <douglas.clarke> |
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | eclipselink.orm-inbox, gordon.yorke |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Insignificant bug fix. Code checked in. http://fisheye2.atlassian.com/changelog/eclipselink/?cs=7667 The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
Starting at line 704 in version 2.1.0 } else if (query.isReadObjectQuery()) { List resultList = new ArrayList(); Object result = executeReadQuery(); if (result != null) { resultList.add(executeReadQuery()); } return resultList; I believe the result should be added to the resultList instead of re-executing the query. This only occurs when using a native ReadObjectQuery and calling getResultList which is an odd combination