We're updating the issue view to help you get more done. 

Typo in docs? 16.3. Associations and joins

Description

http://docs.jboss.org/hibernate/orm/4.2/manual/en-US/html_single/#queryhql-joins

Fetch should be used together with setMaxResults() or setFirstResult(), as these operations are based on the result rows which usually contain duplicates for eager collection fetching, hence, the number of rows is not what you would expect.

I think it should read "Fetch shouldn't be used...".

Environment

None

Status

Assignee

Brett Meyer

Reporter

Ondra Žižka

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

4.2.0.CR2

Priority

Minor