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

SINGLE_TABLE associated entity query missing restriction of DiscriminatorColumn - reverting HHH-11375

Description

Reverting HHH-11375.

The changes introduced by force the use of the discriminator column for every query involving a one-to-many relation.
This is not necessary for most of the cases, in situation like the one described in the solution is to add the config value

1 hibernate.discriminator.force_in_select=true

Environment

None

Status

Assignee

Andrea Boriero

Reporter

Andrea Boriero

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.2.9

Priority

Major