[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3949) Intrumentated to one relations can not be join fetched
Gérald Quintana (JIRA)
noreply at atlassian.com
Tue Jun 9 16:35:14 EDT 2009
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list