SQLQuery fetching a joined one-to-many executes a secondary select for the parent-side

Description

Considering the following entities:

When executing this query:

a secondary select is executed towards the parent-side, even if the SQLQuery uses a select all columns statement:

Environment

None

Activity

Show:
Vlad Mihalcea
February 9, 2016, 3:36 PM

I mistakingly assumed that the secondary query was against the child, but it was against a parent-side which was EAGER by default. So, there's no issue.

Cannot Reproduce

Assignee

Unassigned

Reporter

Vlad Mihalcea

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure