Issues
- Incorrect generation of SQL query in a special case when using inheritance and select from multiple tablesHHH-19343
- Assertion error when running query that loads association containing transient instanceHHH-19342
- Calling flush before query execution may cause PropertyValueException: Detached entity with generated idHHH-19333
- Batched unidirectional one-to-many update failingHHH-19322
- NPE in ResultSetMappingProcessor when using createNativeQuery with {x.*} notation and Entity with Embeddable that contains relational mappingsHHH-19304
- `SelectionQuery#getResultCount` returns incorrect count if implicit joins are used in the select clauseHHH-19065Marco Belladelli
6 of 6
Incorrect generation of SQL query in a special case when using inheritance and select from multiple tables
Description
Attachments
1
Created 2 days ago
Updated 2 days ago
Hibernate generates an incorrect SQL select query when using inheritance and selecting from multiple tables. This is quite a special case. Please check out the reproducer for more details and run this test org.hibernate.bugs.JPAUnitTestCase#hhh123Test