[hibernate/hibernate-orm] 58c107: HHH-16515 - Add o.h.property.access.spi to nullnes...
by Jan Schatteman
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 58c10758e0e96daea042158a8fe8248b5ddb6ccd
https://github.com/hibernate/hibernate-orm/commit/58c10758e0e96daea042158...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2023-07-18 (Tue, 18 Jul 2023)
Changed paths:
M checkerstubs/java.lang.astub
M gradle/java-module.gradle
M hibernate-core/src/main/java/org/hibernate/PropertyAccessException.java
M hibernate-core/src/main/java/org/hibernate/PropertySetterAccessException.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/ManagedTypeHelper.java
M hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/AccessStrategyHelper.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/ChainedPropertyAccessImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessBasicImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessCompositeUserTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessEmbeddedImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessEnhancedImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessMapImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessMixedImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyBackRefImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyEnhancedImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyIndexBackRefImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyMapImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyNoopImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyResolverStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/BuiltInPropertyAccessStrategies.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/EnhancedSetterImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/EnhancedSetterMethodImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/Getter.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/GetterFieldImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/GetterMethodImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/PropertyAccess.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/Setter.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/SetterFieldImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/SetterMethodImpl.java
M hibernate-core/src/main/java/org/hibernate/proxy/HibernateProxy.java
Log Message:
-----------
HHH-16515 - Add o.h.property.access.spi to nullness checking
HHH-16515 - Add o.h.property.access.internal to nullness checking
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
2 years, 2 months
[hibernate/hibernate-orm] 3e3fd6: HHH-16494 Add test for issue
by Marco Belladelli
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...
2 years, 2 months