[hibernate/hibernate-search] 0531d9: HSEARCH-4565 Detect "buried" cycles for @IndexingD...
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: 0531d94e5f865ca0bf94b67754a2674679664d74
https://github.com/hibernate/hibernate-search/commit/0531d94e5f865ca0bf94...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/AbstractPojoIndexingDependencyCollectorDirectValueNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorMonomorphicDirectValueNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorPolymorphicDirectValueNode.java
A util/common/src/main/java/org/hibernate/search/util/common/data/impl/LinkedNode.java
A util/common/src/test/java/org/hibernate/search/util/common/data/impl/LinkedNodeTest.java
Log Message:
-----------
HSEARCH-4565 Detect "buried" cycles for @IndexingDependency(derivedFrom = ...)
Commit: d0800814f369ff622df1613874b0f4ec9397f419
https://github.com/hibernate/hibernate-search/commit/d0800814f369ff622df1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DependencyIT.java
Log Message:
-----------
HSEARCH-4565 Test cyclic dependency detection for @IndexingDependency(derivedFrom = ...) with "buried" cycles
Commit: 71bdd6a76a476d89ef004c40fd033ef2d1883646
https://github.com/hibernate/hibernate-search/commit/71bdd6a76a476d89ef00...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedEmbeddedBaseIT.java
Log Message:
-----------
HSEARCH-4565 Add more tests for @IndexedEmbedded cycles
Not directly related to this ticket, but that's just to be safe.
Commit: 7e3bb0cf51deadd478a7c381e5458ae8f864bd29
https://github.com/hibernate/hibernate-search/commit/7e3bb0cf51deadd478a7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M util/common/src/main/java/org/hibernate/search/util/common/impl/ToStringTreeBuilder.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/reporting/FailureReportChecker.java
Log Message:
-----------
HSEARCH-4611 Properly indent multiline failures in failure reports
Commit: aaae49cb186898774be4441f5cbae9abf5fd2315
https://github.com/hibernate/hibernate-search/commit/aaae49cb186898774be4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/reporting/spi/RootFailureCollector.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverMultiNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorMultiNode.java
M util/common/src/main/java/org/hibernate/search/util/common/impl/ToStringTreeBuilder.java
R util/common/src/main/java/org/hibernate/search/util/common/logging/impl/ToStringTreeAppendableMultilineFormatter.java
A util/common/src/main/java/org/hibernate/search/util/common/logging/impl/ToStringTreeMultilineFormatter.java
M util/common/src/test/java/org/hibernate/search/util/common/impl/ToStringTreeBuilderTest.java
Log Message:
-----------
HSEARCH-4611 Automatically format iterables as lists in ToStringTreeBuilder
Commit: c08def8dbd19d52d67ed28593aadeab48f46872d
https://github.com/hibernate/hibernate-search/commit/c08def8dbd19d52d67ed...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DependencyIT.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/AbstractPojoIndexingDependencyCollectorDirectValueNode.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/DerivedDependencyWalkingInfo.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorMonomorphicDirectValueNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorPolymorphicDirectValueNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorPropertyNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
M util/common/src/main/java/org/hibernate/search/util/common/data/impl/LinkedNode.java
M util/common/src/test/java/org/hibernate/search/util/common/data/impl/LinkedNodeTest.java
Log Message:
-----------
HSEARCH-4611 Display more helpful error messages for @IndexingDependency(derivedFrom = ...) cycles
Commit: d4e73d7ca9a9e36d0b2384397983bf84e6f0ff6f
https://github.com/hibernate/hibernate-search/commit/d4e73d7ca9a9e36d0b23...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
M engine/src/test/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaManagerNestingContextTest.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedEmbeddedBaseIT.java
Log Message:
-----------
HSEARCH-4611 Improve @IndexedEmbedded cycle error message
Also, be more consistent with the error message for @IndexingDependency(derivedFrom = ...)
Compare: https://github.com/hibernate/hibernate-search/compare/1a70e2a72708...d4e7...
2 years, 6 months
[hibernate/hibernate-search] 3d2b07: HSEARCH-4565 Detect "buried" cycles for @IndexingD...
by Yoann Rodière
Branch: refs/heads/6.1
Home: https://github.com/hibernate/hibernate-search
Commit: 3d2b07600632574f0056aa2e8657637729ef0586
https://github.com/hibernate/hibernate-search/commit/3d2b07600632574f0056...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/AbstractPojoIndexingDependencyCollectorDirectValueNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorMonomorphicDirectValueNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorPolymorphicDirectValueNode.java
A util/common/src/main/java/org/hibernate/search/util/common/data/impl/LinkedNode.java
A util/common/src/test/java/org/hibernate/search/util/common/data/impl/LinkedNodeTest.java
Log Message:
-----------
HSEARCH-4565 Detect "buried" cycles for @IndexingDependency(derivedFrom = ...)
Commit: f48128b4099a9d181000efca1af6a280e5170be0
https://github.com/hibernate/hibernate-search/commit/f48128b4099a9d181000...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DependencyIT.java
Log Message:
-----------
HSEARCH-4565 Test cyclic dependency detection for @IndexingDependency(derivedFrom = ...) with "buried" cycles
Commit: e20bdb761fd49018edd79a967014bf6d1f227572
https://github.com/hibernate/hibernate-search/commit/e20bdb761fd49018edd7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedEmbeddedBaseIT.java
Log Message:
-----------
HSEARCH-4565 Add more tests for @IndexedEmbedded cycles
Not directly related to this ticket, but that's just to be safe.
Commit: 181847048647eed1bd60dda1f8393626eb89b8c1
https://github.com/hibernate/hibernate-search/commit/181847048647eed1bd60...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M util/common/src/main/java/org/hibernate/search/util/common/impl/ToStringTreeBuilder.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/reporting/FailureReportChecker.java
Log Message:
-----------
HSEARCH-4611 Properly indent multiline failures in failure reports
Commit: bad03c810f220ef9b633162eaea1b1fcc1495888
https://github.com/hibernate/hibernate-search/commit/bad03c810f220ef9b633...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/reporting/spi/RootFailureCollector.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverMultiNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorMultiNode.java
M util/common/src/main/java/org/hibernate/search/util/common/impl/ToStringTreeBuilder.java
R util/common/src/main/java/org/hibernate/search/util/common/logging/impl/ToStringTreeAppendableMultilineFormatter.java
A util/common/src/main/java/org/hibernate/search/util/common/logging/impl/ToStringTreeMultilineFormatter.java
M util/common/src/test/java/org/hibernate/search/util/common/impl/ToStringTreeBuilderTest.java
Log Message:
-----------
HSEARCH-4611 Automatically format iterables as lists in ToStringTreeBuilder
Commit: 7e1a61c1599438ce7d8ecefbc97ad9c7facd12f0
https://github.com/hibernate/hibernate-search/commit/7e1a61c1599438ce7d8e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DependencyIT.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/AbstractPojoIndexingDependencyCollectorDirectValueNode.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/DerivedDependencyWalkingInfo.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorMonomorphicDirectValueNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorPolymorphicDirectValueNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorPropertyNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/path/impl/PojobTypeAndModelPath.java
M util/common/src/main/java/org/hibernate/search/util/common/data/impl/LinkedNode.java
M util/common/src/test/java/org/hibernate/search/util/common/data/impl/LinkedNodeTest.java
Log Message:
-----------
HSEARCH-4611 Display more helpful error messages for @IndexingDependency(derivedFrom = ...) cycles
Commit: d90a6c26eefe3d32a2e3d0b13a011f8bc9c57401
https://github.com/hibernate/hibernate-search/commit/d90a6c26eefe3d32a2e3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
M engine/src/test/java/org/hibernate/search/engine/mapper/mapping/building/impl/ConfiguredIndexSchemaManagerNestingContextTest.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedEmbeddedBaseIT.java
Log Message:
-----------
HSEARCH-4611 Improve @IndexedEmbedded cycle error message
Also, be more consistent with the error message for @IndexingDependency(derivedFrom = ...)
Compare: https://github.com/hibernate/hibernate-search/compare/992fcf534986...d90a...
2 years, 6 months
[hibernate/hibernate-orm] 8e55dd: clean up some warnings
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 8e55dde3401213fa06b5d166905ca1e7e19d0598
https://github.com/hibernate/hibernate-orm/commit/8e55dde3401213fa06b5d16...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-06-20 (Mon, 20 Jun 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/process/internal/ScanningCoordinator.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/AbstractEntitySourceImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/AttributesHelper.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/AuxiliaryDatabaseObjectBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/EmbeddableSourceImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/EntityHierarchyBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/FilterSourceImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/HbmMetadataSourceProcessorImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/Helper.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/IdClassSource.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/JoinedSubclassEntitySourceImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/PluralAttributeSourceIdBagImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/RelationalObjectBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/RelationalValueSourceHelper.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/SubclassEntitySourceImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/internal/BootstrapServiceRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/cache/spi/support/AbstractDomainDataRegion.java
M hibernate-core/src/main/java/org/hibernate/collection/spi/AbstractPersistentCollection.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/CacheInitiator.java
M hibernate-core/src/main/java/org/hibernate/id/IdentifierGeneratorHelper.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/util/beans/BeanInfoHelper.java
M hibernate-core/src/main/java/org/hibernate/internal/util/config/ConfigurationHelper.java
M hibernate-core/src/main/java/org/hibernate/jdbc/Expectations.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/ExceptionMapperLegacyJpaImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/util/FlushModeTypeHelper.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/util/LockModeTypeHelper.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/util/PersistenceUnitTransactionTypeHelper.java
M hibernate-core/src/main/java/org/hibernate/loader/BatchFetchStyle.java
M hibernate-core/src/main/java/org/hibernate/persister/internal/PersisterClassResolverInitiator.java
M hibernate-core/src/main/java/org/hibernate/query/internal/NamedQueryHelper.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/instantiation/internal/DynamicInstantiationAssemblerInjectionImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/SourceType.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/UniqueConstraintSchemaUpdateStrategy.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/Helper.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DataHelper.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LobStreamDataHelper.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/BlobJdbcType.java
Log Message:
-----------
clean up some warnings
mostly .instanceOf() calls
2 years, 6 months