]
Gail Badner updated HHH-5296:
-----------------------------
It should return an empty set.
It looks like AbstractFromImpl.getFetches() has the same problem.
Thanks for pointing this out and for the unit test!
AbstractFromImpl::getJoin() shall return empty set, not null
------------------------------------------------------------
Key: HHH-5296
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5296
Project: Hibernate Core
Issue Type: Bug
Components: entity-manager
Affects Versions: 3.5.0-Final
Reporter: Sergey Vladimirov
Attachments: patch.txt
Original Estimate: 2h
Remaining Estimate: 2h
According to JavaDoc AbstractFromImpl::getJoin() shall return empty set if no joins were
made, not null reference.
Either javadoc or AbstractFromImpl behavior shall be fixed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: