[hibernate/hibernate-orm] 3d46fa: HHH-14191 - ANY mapping support
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 3d46fabeb58d63ae2264955ad4eff73c2fab31b4
https://github.com/hibernate/hibernate-orm/commit/3d46fabeb58d63ae2264955...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/NotYetImplementedFor6Exception.java
M hibernate-core/src/main/java/org/hibernate/cfg/BinderHelper.java
A hibernate-core/src/main/java/org/hibernate/internal/util/JavaHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/DiscriminatedAssociationModelPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableMappingType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractSingularAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractStateArrayContributorMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AnyDiscriminatorPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AnyKeyPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/DiscriminatedAssociationAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/DiscriminatedAssociationMapping.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/DiscriminatedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationProcess.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
R hibernate-core/src/test/java/org/hibernate/orm/test/any/Address.java
R hibernate-core/src/test/java/org/hibernate/orm/test/any/AnyEagerHbmTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/any/AnyLazyHbmTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/any/AnyTestEagerPropertySet.hbm.xml
R hibernate-core/src/test/java/org/hibernate/orm/test/any/AnyTestLazyPropertySet.hbm.xml
R hibernate-core/src/test/java/org/hibernate/orm/test/any/AnyTypeTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/any/Person.hbm.xml
R hibernate-core/src/test/java/org/hibernate/orm/test/any/Person.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/annotations/AnyTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/annotations/CharProperty.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/annotations/EmbeddedAnyTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/annotations/IntegerProperty.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/annotations/LazyPropertySet.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/annotations/LongProperty.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/annotations/Property.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/annotations/PropertyList.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/annotations/PropertyMap.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/annotations/PropertySet.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/annotations/StringProperty.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/annotations/package-info.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/hbm/Address.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/hbm/AnyEagerHbmTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/hbm/AnyLazyHbmTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/hbm/AnyTestEagerPropertySet.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/any/hbm/AnyTestLazyPropertySet.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/any/hbm/AnyTypeTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/hbm/Person.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/any/hbm/Person.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/any/AnyTest.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/any/CharProperty.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/any/EmbeddedAnyTest.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/any/IntegerProperty.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/any/LazyPropertySet.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/any/LongProperty.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/any/Property.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/any/PropertyList.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/any/PropertyMap.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/any/PropertySet.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/any/StringProperty.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/any/package-info.java
M hibernate-core/src/test/java/org/hibernate/test/hql/Properties.hbm.xml
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DomainModel.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DomainModelExtension.java
Log Message:
-----------
HHH-14191 - ANY mapping support
- `@ManyToAny`
- embeddable sub-attribute
4 years, 3 months
[hibernate/hibernate-orm] 97a88e: HHH-14191 - ANY mapping support
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 97a88ebbcf7a9afcd8bff5fef9f5702c7f37eefa
https://github.com/hibernate/hibernate-orm/commit/97a88ebbcf7a9afcd8bff5f...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/TypeDefinition.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
M hibernate-core/src/main/java/org/hibernate/mapping/Any.java
M hibernate-core/src/main/java/org/hibernate/mapping/Column.java
M hibernate-core/src/main/java/org/hibernate/mapping/Property.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/AttributeFactory.java
R hibernate-core/src/main/java/org/hibernate/metamodel/mapping/AnyValuedMapping.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/DiscriminatedAssociationModelPart.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AnyDiscriminatorPart.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AnyKeyPart.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/DiscriminatedAssociationAttributeMapping.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/DiscriminatedAssociationMapping.java
A hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/AnyMappingDomainTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/SingularAttributeImpl.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/type/MetaType.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/Address.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/AnyEagerHbmTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/AnyLazyHbmTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/AnyTestEagerPropertySet.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/any/AnyTestLazyPropertySet.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/any/AnyTypeTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/any/Person.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/any/Person.java
R hibernate-core/src/test/java/org/hibernate/test/any/Address.java
R hibernate-core/src/test/java/org/hibernate/test/any/AnyEagerHbmTest.java
R hibernate-core/src/test/java/org/hibernate/test/any/AnyLazyHbmTest.java
R hibernate-core/src/test/java/org/hibernate/test/any/AnyTypeTest.java
R hibernate-core/src/test/java/org/hibernate/test/any/ComplexPropertyValue.java
R hibernate-core/src/test/java/org/hibernate/test/any/IntegerPropertyValue.java
R hibernate-core/src/test/java/org/hibernate/test/any/Person.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/any/Person.java
R hibernate-core/src/test/java/org/hibernate/test/any/Properties.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/any/PropertySet.java
R hibernate-core/src/test/java/org/hibernate/test/any/PropertyValue.java
R hibernate-core/src/test/java/org/hibernate/test/any/StringPropertyValue.java
M hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java
A hibernate-core/src/test/java/org/hibernate/test/hql/ComplexPropertyValue.java
A hibernate-core/src/test/java/org/hibernate/test/hql/IntegerPropertyValue.java
A hibernate-core/src/test/java/org/hibernate/test/hql/Properties.hbm.xml
A hibernate-core/src/test/java/org/hibernate/test/hql/PropertySet.java
A hibernate-core/src/test/java/org/hibernate/test/hql/PropertyValue.java
A hibernate-core/src/test/java/org/hibernate/test/hql/StringPropertyValue.java
R hibernate-core/src/test/resources/org/hibernate/test/any/AnyTestEagerPropertySet.hbm.xml
R hibernate-core/src/test/resources/org/hibernate/test/any/AnyTestLazyPropertySet.hbm.xml
Log Message:
-----------
HHH-14191 - ANY mapping support
4 years, 3 months
[hibernate/hibernate-search] f410b2: HSEARCH-3988 Preserve the type of loading options ...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: f410b21db720fb7b4e2719ff546ab98b02dd255d
https://github.com/hibernate/hibernate-search/commit/f410b21db720fb7b4e27...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/dsl/ElasticsearchSearchQuerySelectStep.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/dsl/ElasticsearchSearchQueryWhereStep.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/dsl/LuceneSearchQuerySelectStep.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/dsl/LuceneSearchQueryWhereStep.java
M engine/src/main/java/org/hibernate/search/engine/search/query/dsl/SearchQuerySelectStep.java
M engine/src/main/java/org/hibernate/search/engine/search/query/dsl/SearchQueryWhereStep.java
M engine/src/main/java/org/hibernate/search/engine/search/query/dsl/impl/DefaultSearchQueryOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/query/dsl/spi/AbstractDelegatingSearchQuerySelectStep.java
M engine/src/main/java/org/hibernate/search/engine/search/query/dsl/spi/AbstractSearchQueryOptionsStep.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryBaseIT.java
Log Message:
-----------
HSEARCH-3988 Preserve the type of loading options after a call to .select(...) in the Search DSL
Commit: fd811a0d14f96ba5dc370663b2e07c37fc42a126
https://github.com/hibernate/hibernate-search/commit/fd811a0d14f96ba5dc37...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryLoadingOptionsIT.java
M util/internal/integrationtest/mapper/stub/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/stub/GenericStubMappingScope.java
Log Message:
-----------
HSEARCH-3988 Test that loading options can be used regardless of the projection
Compare: https://github.com/hibernate/hibernate-search/compare/4814e128ece8...fd81...
4 years, 3 months
[hibernate/hibernate-orm] 564c05: HHH-14153 optimize away temp table for single-tabl...
by Gavin King
Branch: refs/heads/5.4
Home: https://github.com/hibernate/hibernate-orm
Commit: 564c05a65a5cbd72dbda393aa62282e3e639a508
https://github.com/hibernate/hibernate-orm/commit/564c05a65a5cbd72dbda393...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/HqlSqlWalker.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/QueryTranslatorImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/BasicExecutor.java
Log Message:
-----------
HHH-14153 optimize away temp table for single-table HQL update
When a HQL bulk update query only touches a single table,
use BasicExecutor instead of MultiTableUpdateExecutor.
This is an alternate implementation to the one proposed by
@NathanQingyangXu in #3508 and loosely based on that work.
Commit: f182b3b366e04c9d3ce94d71eee0cf16784bee72
https://github.com/hibernate/hibernate-orm/commit/f182b3b366e04c9d3ce94d7...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/QueryTranslatorImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/BasicExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/DeleteExecutor.java
A hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/InsertExecutor.java
A hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/UpdateExecutor.java
Log Message:
-----------
HHH-14153 clean up BasicExecutor and friends
introduces InsertExecutor and UpdateExecutor since we're
going to be introducing specific optimizations relating
to single-table updates
relates to HHH-14153
Commit: 9dd2d94afba91734ab6e22f2f834acc12082dd23
https://github.com/hibernate/hibernate-orm/commit/9dd2d94afba91734ab6e22f...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/QueryTranslatorImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/BasicExecutor.java
A hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/IdSubselectUpdateExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/InsertExecutor.java
A hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/SimpleUpdateExecutor.java
R hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/UpdateExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/TableBasedUpdateHandlerImpl.java
Log Message:
-----------
HHH-14153 further optimization for single-table HQL update
This extends the optimization for single-table HQL bulk
updates to the case where the where clause touches multiple
tables and we can use a subselect to collect the ids that
we need to update.
Commit: 6e9b488ec16874c9406215fb470e769250668b95
https://github.com/hibernate/hibernate-orm/commit/6e9b488ec16874c9406215f...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/test/joinedsubclass/SingleTableUpdateQueryTest.java
Log Message:
-----------
HHH-14153 add test
By NathanQingyangXu
See https://github.com/hibernate/hibernate-orm/pull/3508
Commit: a49795549a2c7549cc8cfdcb11e9537c18872325
https://github.com/hibernate/hibernate-orm/commit/a49795549a2c7549cc8cfdc...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/QueryTranslatorImpl.java
Log Message:
-----------
HHH-14153 Make buildAppropriateStatementExecutor() protected
Hibernate Reactive might ultimately need to override
this method, though it doesn't right now.
Relates to HHH-14153.
Commit: 55b46f185530189c01104c5f0bfbfd661ac2b900
https://github.com/hibernate/hibernate-orm/commit/55b46f185530189c01104c5...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/BasicExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/DeleteExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/IdSubselectUpdateExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/InsertExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/SimpleUpdateExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/AbstractTableBasedBulkIdHandler.java
Log Message:
-----------
HHH-14153 refactoring after HHH-14153
- avoid use package-scoped instance felds
- remove copy/pasted code
Note: I don't hate package-scoped final fields, but I
know other folks tend to. So let's go with template
methods instead.
Compare: https://github.com/hibernate/hibernate-orm/compare/b1dea1b17a2b...55b46f1...
4 years, 3 months
[hibernate/hibernate-orm] d1119d: HHH-14153 optimize away temp table for single-tabl...
by Gavin King
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: d1119d320a96695341d102480648752a7208525b
https://github.com/hibernate/hibernate-orm/commit/d1119d320a96695341d1024...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/HqlSqlWalker.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/QueryTranslatorImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/BasicExecutor.java
Log Message:
-----------
HHH-14153 optimize away temp table for single-table HQL update
When a HQL bulk update query only touches a single table,
use BasicExecutor instead of MultiTableUpdateExecutor.
This is an alternate implementation to the one proposed by
@NathanQingyangXu in #3508 and loosely based on that work.
Commit: 264e71a916ff27a97bfefea144a20895f7fc75e7
https://github.com/hibernate/hibernate-orm/commit/264e71a916ff27a97bfefea...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/QueryTranslatorImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/BasicExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/DeleteExecutor.java
A hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/InsertExecutor.java
A hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/UpdateExecutor.java
Log Message:
-----------
HHH-14153 clean up BasicExecutor and friends
introduces InsertExecutor and UpdateExecutor since we're
going to be introducing specific optimizations relating
to single-table updates
relates to HHH-14153
Commit: 423697026de10ed24c8d425b661425072926bfa0
https://github.com/hibernate/hibernate-orm/commit/423697026de10ed24c8d425...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/QueryTranslatorImpl.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/BasicExecutor.java
A hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/IdSubselectUpdateExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/InsertExecutor.java
A hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/SimpleUpdateExecutor.java
R hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/UpdateExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/TableBasedUpdateHandlerImpl.java
Log Message:
-----------
HHH-14153 further optimization for single-table HQL update
This extends the optimization for single-table HQL bulk
updates to the case where the where clause touches multiple
tables and we can use a subselect to collect the ids that
we need to update.
Commit: 51730713222a088a960de3296b5053880b0bb0b9
https://github.com/hibernate/hibernate-orm/commit/51730713222a088a960de32...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/test/joinedsubclass/SingleTableUpdateQueryTest.java
Log Message:
-----------
HHH-14153 add test
By NathanQingyangXu
See https://github.com/hibernate/hibernate-orm/pull/3508
Commit: 5daf440a6cd8e0ed115f33d0594cc19c88ccfa04
https://github.com/hibernate/hibernate-orm/commit/5daf440a6cd8e0ed115f33d...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/QueryTranslatorImpl.java
Log Message:
-----------
HHH-14153 Make buildAppropriateStatementExecutor() protected
Hibernate Reactive might ultimately need to override
this method, though it doesn't right now.
Relates to HHH-14153.
Commit: 5b9ec29ecb689c7fddaeec42afeb72398aeb9a0a
https://github.com/hibernate/hibernate-orm/commit/5b9ec29ecb689c7fddaeec4...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/BasicExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/DeleteExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/IdSubselectUpdateExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/InsertExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/exec/SimpleUpdateExecutor.java
M hibernate-core/src/main/java/org/hibernate/hql/spi/id/AbstractTableBasedBulkIdHandler.java
Log Message:
-----------
HHH-14153 refactoring after HHH-14153
- avoid use package-scoped instance felds
- remove copy/pasted code
Note: I don't hate package-scoped final fields, but I
know other folks tend to. So let's go with template
methods instead.
Compare: https://github.com/hibernate/hibernate-orm/compare/59d40c3bf5bc...5b9ec29...
4 years, 3 months