Subselect fetching with setMaxResults()

Description

Any limit that gets applied to a query should also get applied to the subselect of any subsequent collection fetches.

Also, we need to make sure that a newly inserted collection that shows up in the subselect fetch resultset gets ignored by Loader.

Environment

None

Status

Assignee

GavinG

Reporter

GavinG

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure