Description
In the description in EJB 3.0 JPA spec, section 4.4.5.3, the following query example
SELECT d
FROM Department d LEFT JOIN FETCH d.employees
WHERE d.deptno = 1
The spec says this query returns 5 references to the department 1 entity if department 1 has 5 employees.
The same query running with openjpa code, it returns only 1 reference to department 1 entity.
Attachments
Issue Links
- relates to
-
OPENJPA-894 LEFT JOIN FETCH queries with fresh fetches from the db do not follow JPA Spec 4.4.5.3
- Open