Issue Type: Bug Bug
Affects Versions: 4.1.7
Assignee: Unassigned
Attachments: FetchProfile.PNG
Components: annotations, core
Created: 18/Sep/12 4:25 AM
Description:

We have an annotation-based metadata model.

If I define the fetchProfile with 2 @FetchOverrides with one OneToOne Association and one OneToMany Association.

In this case only the OneToOne Association will be loaded. If I remove the FetchOverride for the OneToOne association, the OneToMany association will be loaded.

If I define a fetchProfile with 2 @FetchOverrides with two OneToOne associations, both associations will be loaded.

The Problem occurs only when I define more than one FetchOverrides and only when at least one association an OneToMany or ManyToMany association is.

Environment: SQL Server 2008 R2, Hibernate 4.1.7.Final, JDK 1.7.0_03
Project: Hibernate ORM
Labels: fetch fetchprofile
Priority: Major Major
Reporter: Daniela Roth
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira