In the two listed affects versions, a regression has been discovered which was not present in versions in the 4.3.x stream previous to these. The problem affects an entity domain with a three tier type hierarchy where the middle tier has a treated property and we are expecting to get back all of the root super-type in the from. Here is the test case to illustrate this:
This results in no records found due to the query generated containing an odd addition restriction (1=2):
On previous versions (e.g. 4.3.4), this same code generates the following correct query:
Java version "1.7.0_65", "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
So then this is missing in the change log...
I'm afraid so. Sorry for that.
I see that the PR only changes SingleTableEntityPersister. Is there a similar problem with other types of inheritance?
Sorry I didn't check other classes. I was focused on the bug and on my debugger (trying to understand all the code )...