Where clauses mapped on collections and entities need parentheses when used in conjunction

Description

Given the following mapping:

Currently, the query for loading Team#expertAndHighLevelPlayers would be something like:

Parentheses should be added to ensure that the separate clauses have the proper precedence, as in:

.

This affects hbm.xml mappings as well.

Activity

Show:

Former user November 28, 2018 at 6:22 AM

Fixed in 5.1 branch as well.

Former user August 14, 2018 at 5:29 AM

Fixed in master and 5.3 branches.

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

Created August 3, 2018 at 8:00 AM
Updated November 28, 2018 at 6:22 AM
Resolved November 28, 2018 at 6:22 AM