Intrumentated to one relations can not be join fetched
------------------------------------------------------
Key: HHH-3949
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3949
Project: Hibernate Core
Issue Type: Bug
Components: core, query-criteria, query-hql
Affects Versions: 3.3.1
Reporter: Gérald Quintana
1) Relation Person -> Vehicle is annotated
@OneToOne(optional=true, mappedBy="driver", fetch=FetchType.LAZY)
@LazyToOne(LazyToOneOption.NO_PROXY)
private Vehicle vehicle;
2) Both entities are instrumented with Javassist
3) Query (HQL or Criteria) Person and Vehicle: from Person p left join fetch p.vehicle
=> SQL query is correct but Vehicles are not loaded
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira