Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 1c5ec0612c76d414a0a051277e276cf97d78cf70
https://github.com/hibernate/hibernate-orm/commit/1c5ec0612c76d414a0a0512...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/FilterHelper.java
M
hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSelectBuilder.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityMappingType.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/Restrictable.java
M
hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/Joinable.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/MatchingIdSelectionHelper.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/RestrictedDeleteExecutionDelegate.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/TableBasedUpdateHandler.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/SqlAstWalker.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstWalker.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/predicate/FilterPredicate.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/predicate/Junction.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/cfg/persister/GoofyPersisterClassProvider.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ejb3configuration/PersisterClassProviderTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/legacy/CustomPersister.java
Log Message:
-----------
HHH-14977 - @Where is broken in 6.0
`@Where` and `@Filter` fragments are now fully handled as AST - each fragment gets its own
Predicate instance.
Some more work coming to clean up methods we no longer use which require the old
String-manip approach.
Commit: 4c758b2d481cbefdb0b67d500c5a7b52cfe54a35
https://github.com/hibernate/hibernate-orm/commit/4c758b2d481cbefdb0b67d5...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/FilterHelper.java
M
hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSelectBuilder.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/Discriminatable.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityMappingType.java
A
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/FilterRestrictable.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/PluralAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/Restrictable.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/WhereRestrictable.java
M
hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M
hibernate-core/src/main/java/org/hibernate/persister/collection/CollectionPersister.java
M
hibernate-core/src/main/java/org/hibernate/persister/collection/OneToManyPersister.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
A
hibernate-core/src/main/java/org/hibernate/persister/internal/SqlFragmentPredicate.java
R
hibernate-core/src/main/java/org/hibernate/persister/internal/WhereFilterPredicate.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/MatchingIdSelectionHelper.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/RestrictedDeleteExecutionDelegate.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/TableBasedUpdateHandler.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/SqlAstWalker.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstWalker.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AggregateFunctionChecker.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/predicate/FilterPredicate.java
A
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/predicate/PredicateCollector.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/cfg/persister/GoofyPersisterClassProvider.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/discriminatedcollections/Account.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/discriminatedcollections/Client.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/discriminatedcollections/TempTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ejb3configuration/PersisterClassProviderTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/legacy/CustomPersister.java
Log Message:
-----------
HHH-14977 - @Where is broken in 6.0
`@Where` and `@Filter` fragments are now fully handled as AST - each fragment gets its own
Predicate instance.
Some more work coming to clean up methods we no longer use which require the old
String-manip approach.
Compare:
https://github.com/hibernate/hibernate-orm/compare/4e4f2e40b44e...4c758b2...