[hibernate/hibernate-orm] 053153: Initialize collection with key not referring to PK
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 053153847b7f6b275533511fce3066735545dfe9
https://github.com/hibernate/hibernate-orm/commit/053153847b7f6b275533511...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-08-16 (Mon, 16 Aug 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/PluralAttributeMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/SelectEagerCollectionAssembler.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/SelectEagerCollectionFetch.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/SelectEagerCollectionInitializer.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/propertyref/Mail.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/propertyref/Mail.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/propertyref/PropertyRefTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/propertyref/ReferencedColumnNameTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/propertyref/User.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/propertyref/User.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/propertyref/lazy/Mail.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/propertyref/lazy/Mail.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/propertyref/lazy/PropertyRefTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/propertyref/lazy/User.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/propertyref/lazy/User.java
M hibernate-core/src/test/java/org/hibernate/test/orphan/Mail.hbm.xml
M hibernate-core/src/test/java/org/hibernate/test/orphan/User.hbm.xml
M hibernate-core/src/test/java/org/hibernate/test/orphan/User.java
Log Message:
-----------
Initialize collection with key not referring to PK
Commit: 7e4275c46ee5f24325285518e2a7297354bcea1b
https://github.com/hibernate/hibernate-orm/commit/7e4275c46ee5f2432528551...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-08-16 (Mon, 16 Aug 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/sql/results/internal/domain/CircularBiDirectionalFetchImpl.java
A hibernate-core/src/test/java/org/hibernate/orm/test/orphan/Mail.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/orphan/Mail.java
A hibernate-core/src/test/java/org/hibernate/orm/test/orphan/PropertyRefTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/orphan/User.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/orphan/User.java
R hibernate-core/src/test/java/org/hibernate/test/orphan/Mail.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/orphan/Mail.java
R hibernate-core/src/test/java/org/hibernate/test/orphan/PropertyRefTest.java
R hibernate-core/src/test/java/org/hibernate/test/orphan/User.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/orphan/User.java
Log Message:
-----------
Loading circula bidirectional fetch associations not referring to PK
Commit: 8174f8ab9dd80234706abac6f4e9ed7569a2cba4
https://github.com/hibernate/hibernate-orm/commit/8174f8ab9dd80234706abac...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-08-16 (Mon, 16 Aug 2021)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/map/Group.java
A hibernate-core/src/test/java/org/hibernate/orm/test/map/MapIndexFormulaTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/map/SessionAttribute.java
A hibernate-core/src/test/java/org/hibernate/orm/test/map/User.java
A hibernate-core/src/test/java/org/hibernate/orm/test/map/UserGroup.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/map/Group.java
R hibernate-core/src/test/java/org/hibernate/test/map/MapIndexFormulaTest.java
R hibernate-core/src/test/java/org/hibernate/test/map/SessionAttribute.java
R hibernate-core/src/test/java/org/hibernate/test/map/User.java
R hibernate-core/src/test/java/org/hibernate/test/map/UserGroup.hbm.xml
Log Message:
-----------
Re-enabled additional tests
Compare: https://github.com/hibernate/hibernate-orm/compare/ad61c8f1d41a...8174f8a...
3 years, 3 months
[hibernate/hibernate-search] 91b6dd: HSEARCH-4287 Fix typo in PojoIndexingQueueEventPro...
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: 91b6dd5736028cab291a72ee5713199cf344ce12
https://github.com/hibernate/hibernate-search/commit/91b6dd5736028cab291a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingQueueEventProcessingPlanImpl.java
Log Message:
-----------
HSEARCH-4287 Fix typo in PojoIndexingQueueEventProcessingPlanImpl
Commit: 3bb7e6575469fcdd7a36f1720859bfa2745b33c1
https://github.com/hibernate/hibernate-search/commit/3bb7e6575469fcdd7a36...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/AbstractPojoTypeIndexingPlan.java
Log Message:
-----------
HSEARCH-4287 Clarify that we only resolve reindexing for present (non-deleted) entities
Commit: 967e18c39ad97372bb2a44a6cd56b578a247ed17
https://github.com/hibernate/hibernate-search/commit/967e18c39ad97372bb2a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/work/SearchIndexingPlan.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/work/impl/SearchIndexingPlanImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/AbstractPojoTypeIndexingPlan.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/spi/PojoIndexingPlan.java
Log Message:
-----------
HSEARCH-4287 Add PojoIndexingPlan#addOrUpdateOrDelete
To auto-detect whether an entity need updating or deleting from the index,
based on the result of entity loading.
Commit: acc056e037f9d91e913ec1f8ebd1ecb7753db127
https://github.com/hibernate/hibernate-search/commit/acc056e037f9d91e913e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingBackendFailureIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingEdgeCasesIT.java
Log Message:
-----------
HSEARCH-4287 Move some tests out of DatabasePollingAutomaticIndexingEdgeCasesIT and into BackendFailureIT
Because we're going to add more "edge cases" and they will make the
model more complex.
Commit: 6cc56d890b213c1076b5cb30c718283b982fff9f
https://github.com/hibernate/hibernate-search/commit/6cc56d890b213c1076b5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingEdgeCasesIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingLifecycleIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingOutOfOrderIdsIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/FilteringOutboxEventFinder.java
Log Message:
-----------
HSEARCH-4287 Test that adding a contained entity doesn't trigger double reindexing of the containing entity
Commit: 8b1d1ae75a4d9a1a913064a27b0954fdddd8ddac
https://github.com/hibernate/hibernate-search/commit/8b1d1ae75a4d9a1a9130...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/RoutingBridgeBaseIT.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/AbstractPojoIndexerAddOrUpdateNullEntityIT.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/AbstractPojoIndexerDeleteNullEntityIT.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/AbstractPojoIndexerOperationBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/AbstractPojoIndexingOperationIT.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/AbstractPojoIndexingPlanOperationBaseIT.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/AbstractPojoIndexingPlanOperationContainedNullEntityIT.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/AbstractPojoIndexingPlanOperationNullEntityIT.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/BackendIndexingOperation.java
R integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexerOperationIT.java
R integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexerOperationNullEntityIT.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexingAddIT.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexingAddOrUpdateIT.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexingDeleteIT.java
R integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexingOperation.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexingOperationScenario.java
R integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexingPlanOperationContainedNullEntityIT.java
R integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexingPlanOperationIT.java
R integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexingPlanOperationNullEntityIT.java
Log Message:
-----------
HSEARCH-4287 Refactor POJO indexing operation tests to allow for addOrUpdateOrDelete testing
Commit: 7cd9da01ecc72e2fb1be366a34557639da5c3b0a
https://github.com/hibernate/hibernate-search/commit/7cd9da01ecc72e2fb1be...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexingAddOrUpdateOrDeleteEntityAbsentIT.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexingAddOrUpdateOrDeleteEntityPresentIT.java
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/operations/PojoIndexingAddOrUpdateOrDeleteScenario.java
Log Message:
-----------
HSEARCH-4287 Test PojoIndexingPlan.addOrUpdateOrDelete
Commit: 9799f7419ac778226b59b1a24194c33843866607
https://github.com/hibernate/hibernate-search/commit/9799f7419ac778226b59...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/JtaAndSpringOutboxApplicationConfiguration.java
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/outbox/TransactionOutboxIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingEventSendingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingLifecycleIT.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendIndexingWorkExpectations.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMock.java
R util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendWorkThreadingExpectations.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/VerifyingStubBackendBehavior.java
A util/internal/integrationtest/common/src/test/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMockBackendIndexingWorkExpectationsTest.java
R util/internal/integrationtest/common/src/test/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMockBackendWorkThreadingExpectationsTest.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/CoordinationStrategyExpectations.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/OrmSetupHelper.java
Log Message:
-----------
HSEARCH-4287 Allow tests to specify that all "add" expectations should be replaced with "addOrUpdate" expectations
Commit: 6f729c1bb80f3fcc25d862d3c95de556aea6b6d6
https://github.com/hibernate/hibernate-search/commit/6f729c1bb80f3fcc25d8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/jta/JtaAndSpringOutboxApplicationConfiguration.java
M integrationtest/mapper/orm-spring/src/test/java/org/hibernate/search/integrationtest/spring/outbox/TransactionOutboxIT.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/CoordinationStrategyExpectations.java
Log Message:
-----------
HSEARCH-4287 Don't duplicate coordination strategy expectations
Commit: 92e1eea49e3eb0bd9027a1e9d8b2ba2cada73199
https://github.com/hibernate/hibernate-search/commit/92e1eea49e3eb0bd9027...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingBackendFailureIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingEventSendingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingLifecycleIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingOutOfOrderIdsIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/FilteringOutboxEventFinder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/automaticindexing/impl/AutomaticIndexingQueueEventProcessingPlanImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/automaticindexing/impl/HibernateOrmIndexingQueueEventSendingPlan.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/automaticindexing/spi/AutomaticIndexingQueueEventProcessingPlan.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/automaticindexing/spi/AutomaticIndexingQueueEventSendingPlan.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/databasepolling/impl/DatabasePollingAdditionalJaxbMappingProducer.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/databasepolling/impl/OutboxEvent.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/databasepolling/impl/OutboxEventBackgroundProcessor.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/databasepolling/impl/OutboxEventProcessingPlan.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/databasepolling/impl/OutboxEventSendingPlan.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingQueueEventProcessingPlanImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoTypeIndexingPlanEventQueueDelegate.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoTypeIndexingPlanIndexOrEventQueueDelegate.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/spi/DirtinessDescriptor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/spi/PojoIndexingQueueEventPayload.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/spi/PojoIndexingQueueEventProcessingPlan.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/spi/PojoIndexingQueueEventSendingPlan.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/spi/UpdateCauseDescriptor.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/CoordinationStrategyExpectations.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/coordination/localheap/LocalHeapQueueCooordinationStrategy.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/coordination/localheap/LocalHeapQueueIndexingEvent.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/coordination/localheap/LocalHeapQueueProcessor.java
Log Message:
-----------
HSEARCH-4287 During outbox event processing, infer the operation (add/update/delete) from loading
So that processing of outbox events becomes indifferent to processing order.
Commit: 35f8a94ecee73a7b4a6d1432a1e0dbabe7a69b7f
https://github.com/hibernate/hibernate-search/commit/35f8a94ecee73a7b4a6d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/FilteringOutboxEventFinder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/databasepolling/impl/DatabasePollingAdditionalJaxbMappingProducer.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/databasepolling/impl/DefaultOutboxEventFinder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/databasepolling/impl/OutboxEvent.java
Log Message:
-----------
HSEARCH-4287 Remove the "moment" column in outbox events
Event processing is no longer sensitive to ordering, so all tests should
pass event without ordering events by "moment".
We may revert this commit one day, when we address HSEARCH-4194
("Guarantee a minimum delay on processing retries of outbox events").
Commit: 61625f64b8d0440fdb7e0d18eb971f6e71fa6936
https://github.com/hibernate/hibernate-search/commit/61625f64b8d0440fdb7e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/FilteringOutboxEventFinder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/databasepolling/impl/DefaultOutboxEventFinder.java
Log Message:
-----------
HSEARCH-4289 Share query creation between DefaultOutboxEventFinder and FilteringOutboxEventFinder
So that any lock-related change we introduce will be shared as well.
Commit: 1bd1003b83c582d71a24e793026a2c06439ba493
https://github.com/hibernate/hibernate-search/commit/1bd1003b83c582d71a24...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/FilteringOutboxEventFinder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/databasepolling/impl/DefaultOutboxEventFinder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/databasepolling/impl/OutboxEventBackgroundProcessor.java
Log Message:
-----------
HSEARCH-4289 Ignore database-locked events in outbox automatic indexing processors
Commit: 3dd8d81051ee306d76613121e8d43b5e706e5840
https://github.com/hibernate/hibernate-search/commit/3dd8d81051ee306d7661...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMock.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/CallQueue.java
Log Message:
-----------
HSEARCH-4289 Expand logging of expected/actual calls in BackendMock
Commit: ec93712bd813703e6e2eb5769aaea96c890f7160
https://github.com/hibernate/hibernate-search/commit/ec93712bd813703e6e2e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/CallQueue.java
Log Message:
-----------
HSEARCH-4287 Reduce the verbosity of CallQueue logs
Logging each and every expectation will lead to large logs, and
Maven Surefire cannot handle that properly.
Let's only enable this level of verbosity when we investigate a problem.
Commit: 37f645e62fa22bcfc8f18983c93b1597622e722a
https://github.com/hibernate/hibernate-search/commit/37f645e62fa22bcfc8f1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMock.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/VerifyingStubBackendBehavior.java
Log Message:
-----------
HSEARCH-4289 Improve thread-safety of BackendMock
Commit: 3bdfeccd7c5fdbe5448844bc452368111e708280
https://github.com/hibernate/hibernate-search/commit/3bdfeccd7c5fdbe54488...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingBackendFailureIT.java
A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingConcurrencyIT.java
A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/TestFailureHandler.java
Log Message:
-----------
HSEARCH-4289 Test highly concurrent processing of entity change events
Commit: 6b52cb974aeba0714a3f031fd683f8111c6d96aa
https://github.com/hibernate/hibernate-search/commit/6b52cb974aeba0714a3f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M Jenkinsfile
Log Message:
-----------
HSEARCH-4288 Resume testing against MS SQL Server in CI
Commit: c9a11f592aa6c33522a800eb5ab7547e68e1ac5e
https://github.com/hibernate/hibernate-search/commit/c9a11f592aa6c33522a8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M documentation/src/main/asciidoc/reference/architecture.asciidoc
M documentation/src/main/asciidoc/reference/limitations.asciidoc
Log Message:
-----------
HSEARCH-4287 Remove an obsolete limitation from the documentation
Commit: 3447e00076bb50a409d46bd766315f20e2aa34de
https://github.com/hibernate/hibernate-search/commit/3447e00076bb50a409d4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/coordination/databasepolling/impl/OutboxEventBackgroundProcessor.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
Log Message:
-----------
HSEARCH-4289 Handle pessimistic lock failures more gracefully (for MariaDB in particular)
Compare: https://github.com/hibernate/hibernate-search/compare/379ae1b14e8d...3447...
3 years, 3 months
[hibernate/hibernate-search] 02d935: HSEARCH-4296 Make sure assertion errors in backgro...
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: 02d935d90d113b3d5004878a77323bd42277340b
https://github.com/hibernate/hibernate-search/commit/02d935d90d113b3d5004...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingInterruptionIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/massindexing/MassIndexingInterruptionIT.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/CallQueue.java
Log Message:
-----------
HSEARCH-4296 Make sure assertion errors in background threads caused by unexpected works will fail a test
Commit: 89d1a3a9f0bf6227027042e5dde003cef09f18ff
https://github.com/hibernate/hibernate-search/commit/89d1a3a9f0bf62270270...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/DocumentWorkCreateCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/DocumentWorkDiscardCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/DocumentWorkExecuteCall.java
Log Message:
-----------
HSEARCH-4296 Improve error messages when unexpected backend works happen
Commit: 88aef4eb4fea64bffb6b8d2a63aeb841ecf10d9e
https://github.com/hibernate/hibernate-search/commit/88aef4eb4fea64bffb6b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/localheapqueue/LocalHeapQueueAutomaticIndexingBaseIT.java
Log Message:
-----------
HSEARCH-4296 Fix classname filters in DatabasePollingAutomaticIndexingBaseIT / LocalHeapQueueAutomaticIndexingBaseIT
Commit: 379ae1b14e8dc55f94d1785324d2f96cbab762ac
https://github.com/hibernate/hibernate-search/commit/379ae1b14e8dc55f94d1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingEdgeCasesIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingEventSendingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingLifecycleIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingOutOfOrderIdsIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingRoutingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingStaticShardingBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingStaticShardingInvalidConfigurationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/coordination/databasepolling/DatabasePollingAutomaticIndexingStaticShardingUnevenShardsIT.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/OrmSetupHelper.java
Log Message:
-----------
HSEARCH-4296 Update an obsolete method name in OrmSetupHelper
Compare: https://github.com/hibernate/hibernate-search/compare/a91dba0fd9e6...379a...
3 years, 3 months
[hibernate/hibernate-orm] 9a335c: HHH-14770 Optimise access to EntityPersister in Me...
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 9a335c1c04dca581caedb1e0b55c6ecf34d33433
https://github.com/hibernate/hibernate-orm/commit/9a335c1c04dca581caedb1e...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2021-08-09 (Mon, 09 Aug 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetamodelImpl.java
Log Message:
-----------
HHH-14770 Optimise access to EntityPersister in Metamodel via Class type
Commit: edcce3e1c22aa88ca60f69a90f438d8878b4ff87
https://github.com/hibernate/hibernate-orm/commit/edcce3e1c22aa88ca60f69a...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2021-08-09 (Mon, 09 Aug 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionImplementor.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionContractImplementor.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
Log Message:
-----------
HHH-14776 Promote method instantiate(EntityPersister, Serializable) from SessionImplementor to SharedSessionContractImplementor
Commit: 135361a6b8c03144be3ffcc592962388ed14b61b
https://github.com/hibernate/hibernate-orm/commit/135361a6b8c03144be3ffcc...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2021-08-09 (Mon, 09 Aug 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/Loader.java
Log Message:
-----------
HHH-14776 Optimise Loader operations by using the Persister directly
Commit: fb0279e3a7e5e0daef1330aeb7cd2d17ff98cde2
https://github.com/hibernate/hibernate-orm/commit/fb0279e3a7e5e0daef1330a...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2021-08-09 (Mon, 09 Aug 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/JtaTransactionCoordinatorBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/JtaTransactionCoordinatorImpl.java
Log Message:
-----------
HHH-14625 Avoid performing a ServiceRegistryLookup in JtaTransactionCoordinatorImpl constructor
Commit: 52b83829f1be7c2e1b0468080cb4d80c63cdfe8d
https://github.com/hibernate/hibernate-orm/commit/52b83829f1be7c2e1b04680...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionContractImplementor.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/JtaTransactionCoordinatorBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/JtaTransactionCoordinatorImpl.java
Log Message:
-----------
Merge remote-tracking branch 'upstream/main' into wip/6.0
Commit: ad61c8f1d41a86552e297058c3fc7b7fd93fe350
https://github.com/hibernate/hibernate-orm/commit/ad61c8f1d41a86552e29705...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-08-11 (Wed, 11 Aug 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionContractImplementor.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
Log Message:
-----------
Fix errors after upstream/main merge
Compare: https://github.com/hibernate/hibernate-orm/compare/e1b82b005c4b...ad61c8f...
3 years, 3 months