Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 3e3fd6f0beded3088cf8d70991af69d23842320a
https://github.com/hibernate/hibernate-orm/commit/3e3fd6f0beded3088cf8d70...
Author: Marco Belladelli <marco(a)hibernate.org>
Date: 2023-07-18 (Tue, 18 Jul 2023)
Changed paths:
A
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/join/AttributeJoinWithJoinedInheritanceTest.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/join/AttributeJoinWithSingleTableInheritanceTest.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/join/AttributeJoinWithTablePerClassInheritanceTest.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/join/EntityJoinWithJoinedInheritanceTest.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/join/EntityJoinWithSingleTableInheritanceTest.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/join/EntityJoinWithTablePerClassInheritanceTest.java
R
hibernate-core/src/test/java/org/hibernate/orm/test/join/JoinWithSingleTableInheritanceTest.java
Log Message:
-----------
HHH-16494 Add test for issue
Commit: fed020e110fbe82aa9aeeed06bdc6de275df3140
https://github.com/hibernate/hibernate-orm/commit/fed020e110fbe82aa9aeeed...
Author: Marco Belladelli <marco(a)hibernate.org>
Date: 2023-07-18 (Tue, 18 Jul 2023)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
Log Message:
-----------
HHH-16494 Treat entity and attribute joins for inheritance subtypes
Commit: 22091b22547a1d0cb78d2889170a6be0f1b8e120
https://github.com/hibernate/hibernate-orm/commit/22091b22547a1d0cb78d288...
Author: Marco Belladelli <marco(a)hibernate.org>
Date: 2023-07-18 (Tue, 18 Jul 2023)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
Log Message:
-----------
HHH-16494 Reworked pruning for joined inheritance persister
Added handling of subclasses with the same table name and discriminator condition.
Also avoid useless left-joins when not finding table references instead of throwing an
exception.
Compare:
https://github.com/hibernate/hibernate-orm/compare/3c62691dc4d1...22091b2...