Branch: refs/heads/wip/main/dependency-update/orm6-in-main-code
Home:
https://github.com/hibernate/hibernate-search
Commit: 7ea82789e3d0aecac55edd64e8d53a0d7203313b
https://github.com/hibernate/hibernate-search/commit/7ea82789e3d0aecac55e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapter.java
M
v5migrationhelper/orm/src/main/java/org/hibernate/search/query/hibernate/impl/FullTextQueryImpl.java
Log Message:
-----------
HSEARCH-4775 Avoid direct references to setParameter methods in ORM query adapters
ORM 6.2 makes some changes to the setParameter methods, so we'd better
avoid overriding them altogether. Overriding locateBinding() methods is
safe, though.
Commit: 130ca9109763667521ead9309fc03895487dcdc9
https://github.com/hibernate/hibernate-search/commit/130ca9109763667521ea...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/bytype/AbstractAutomaticIndexingAssociationBaseIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/bytype/onetoone/ownedbycontained/AutomaticIndexingOneToOneOwnedByContainedLazyOnContainingSideIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/bytype/onetoone/ownedbycontaining/AutomaticIndexingOneToOneOwnedByContainingLazyOnContainedSideIT.java
Log Message:
-----------
HSEARCH-4708 Disable tests that cannot work with ORM 6 due to HHH-15606
See
https://hibernate.atlassian.net/browse/HHH-15606
Commit: deddb258b840550303a550fff3a486925992a0c4
https://github.com/hibernate/hibernate-search/commit/deddb258b840550303a5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/GenericPropertyIT.java
Log Message:
-----------
HSEARCH-3277 Avoid using @Type annotations
They will be removed in Hibernate ORM 6.
Commit: 38781b7352db2e3f9a4bd47cbca37ed22a12e910
https://github.com/hibernate/hibernate-search/commit/38781b7352db2e3f9a4b...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/TypeQueryFactory.java
Log Message:
-----------
HSEARCH-3277 Detect ORM 6 dynamic entities
Commit: b7670927572821b8203f8b59df1677d49acba929
https://github.com/hibernate/hibernate-search/commit/b7670927572821b8203f...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/event/impl/OutboxPollingOutboxEventAdditionalJaxbMappingProducer.java
Log Message:
-----------
HSEARCH-3277 Use lowercase "instant" property type in XML mapping
"Instant" becomes "instant" in ORM 6.
Commit: 515793c6e3fbb9c5669ac956db07b2540c8fc729
https://github.com/hibernate/hibernate-search/commit/515793c6e3fbb9c5669a...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingPropertiesMetadataContributor.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBasicTypeMetadataProvider.java
Log Message:
-----------
HSEARCH-3277 Get decimal scale from size instead of the column
Commit: d65e2c1a183f5ae2208d48eccbd52a0ac90cf979
https://github.com/hibernate/hibernate-search/commit/d65e2c1a183f5ae2208d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M build/config/src/main/resources/forbidden-public.txt
Log Message:
-----------
HSEARCH-3277 Remove mentions of native ORM Criteria
They've been removed in 6.0, apparently.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 22ee29ae355aa1fb770086c49134d65aa3d2f286
https://github.com/hibernate/hibernate-search/commit/22ee29ae355aa1fb7700...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmSelectionEntityByIdLoader.java
Log Message:
-----------
HSEARCH-3277 Remove the casts of IDs to Serializable where possible
Commit: fb568188f95614db4333322b62778ce4ef98e319
https://github.com/hibernate/hibernate-search/commit/fb568188f95614db4333...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToHibernateOrmScrollableResultsIT.java
M
mapper/orm-batch-jsr352/core/src/main/java/org/hibernate/search/batch/jsr352/core/massindexing/step/impl/HibernateSearchPartitionMapper.java
M
mapper/orm-batch-jsr352/core/src/main/java/org/hibernate/search/batch/jsr352/core/massindexing/step/spi/EntityReader.java
Log Message:
-----------
HSEARCH-3277 Avoid raw ScrollableResults
We can't use an actual type for now, just a wildcard, because ORM
returns a raw type.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: a8de916350b0ee6d04f19c5221da38fb85cd989c
https://github.com/hibernate/hibernate-search/commit/a8de916350b0ee6d04f1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
documentation/src/test/java/org/hibernate/search/documentation/search/query/QueryDslIT.java
M
integrationtest/mapper/orm-cdi/src/test/java/org/hibernate/search/integrationtest/mapper/orm/cdi/CdiBeanResolutionIT.java
M
integrationtest/mapper/orm-cdi/src/test/java/org/hibernate/search/integrationtest/mapper/orm/cdi/CdiExtendedBeanManagerBootstrapShutdownIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingCachingIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/SearchQueryEntityLoadingCacheLookupIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/SearchQueryEntityLoadingMultipleTypesIT.java
Log Message:
-----------
HSEARCH-3277 Avoid deprecated Hibernate ORM APIs
Commit: 38d35653d2be58fa209e6b3f7828fd32f45561f5
https://github.com/hibernate/hibernate-search/commit/38d35653d2be58fa209e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
mapper/orm-batch-jsr352/core/src/main/java/org/hibernate/search/batch/jsr352/core/context/jpa/impl/ActiveSessionFactoryRegistryUpdater.java
M
mapper/orm-batch-jsr352/core/src/main/java/org/hibernate/search/batch/jsr352/core/massindexing/util/impl/PersistenceUtil.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchIntegrator.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmEntityIdEntityLoadingStrategy.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/TypeQueryFactory.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/AbstractHibernateOrmTypeContext.java
Log Message:
-----------
HSEARCH-3277 Avoid deprecated Hibernate ORM SPIs
Commit: 5cfa01fdfb18654e7ed9084e8699e47bb22cd052
https://github.com/hibernate/hibernate-search/commit/5cfa01fdfb18654e7ed9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/MutableEntityLoadingOptions.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBasicTypeMetadataProvider.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapter.java
M pom.xml
M
v5migrationhelper/orm/src/main/java/org/hibernate/search/FullTextSharedSessionBuilder.java
M
v5migrationhelper/orm/src/main/java/org/hibernate/search/impl/FullTextSharedSessionBuilderDelegator.java
M
v5migrationhelper/orm/src/main/java/org/hibernate/search/query/hibernate/impl/FullTextQueryImpl.java
Log Message:
-----------
HSEARCH-4465 Upgrade to Hibernate ORM 6.0.0.CR1
Commit: b5b5fa065a79defe12da17e34cf32a2bc5a25560
https://github.com/hibernate/hibernate-search/commit/b5b5fa065a79defe12da...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/OutboxPollingDisabledIT.java
M
integrationtest/mapper/orm-coordination-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/coordination/outboxpolling/OutboxPollingStrategyPropertyValueIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/BackRefPropertyIT.java
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/SyntheticPropertyIT.java
M
mapper/orm-batch-jsr352/core/src/main/java/org/hibernate/search/batch/jsr352/core/massindexing/util/impl/PersistenceUtil.java
M
mapper/orm-coordination-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/coordination/outboxpolling/mapping/impl/OutboxPollingSearchMappingImpl.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmEntityIdEntityLoadingStrategy.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/TypeQueryFactory.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/AbstractHibernateOrmTypeContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingConfigurationContributor.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingPropertiesMetadataContributor.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBasicTypeMetadataProvider.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmPathDefinitionProvider.java
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/ReusableOrmSetupHolder.java
M
util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/multitenancy/impl/MultitenancyTestHelperSchemaManagementTool.java
Log Message:
-----------
HSEARCH-4465 Avoid deprecated ORM API/SPI
Commit: 53bef793ed93b7d2093237cf9583789bd12ff713
https://github.com/hibernate/hibernate-search/commit/53bef793ed93b7d20932...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M build/config/src/main/resources/forbidden-internal.txt
M build/config/src/main/resources/forbidden-public.txt
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/dynamicmap/DynamicMapBaseIT.java
Log Message:
-----------
HSEARCH-4465 Use Session.getReference instead of Session.load in tests
Commit: 9c34959344f16bc7da2bd1d1e66d37748238f2c3
https://github.com/hibernate/hibernate-search/commit/9c34959344f16bc7da2b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M util/internal/integrationtest/mapper/orm/src/main/resources/hibernate.properties
Log Message:
-----------
HSEARCH-4465 Temporary workaround for problem on @ManyToMany lists in ORM 6
Commit: 7327efc3a64c79e0c83dc61bdfde9253b7e85f4f
https://github.com/hibernate/hibernate-search/commit/7327efc3a64c79e0c83d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmEntityIdEntityLoadingStrategy.java
Log Message:
-----------
HSEARCH-4482 Avoid uses of Hibernate ORM's
org.hibernate.tuple.entity.EntityMetamodel internally where possible
Commit: 8142b818ffa1086bb0729951d02db5480a9a9b84
https://github.com/hibernate/hibernate-search/commit/8142b818ffa1086bb072...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateSearchEventListener.java
M pom.xml
M
v5migrationhelper/orm/src/main/java/org/hibernate/search/FullTextSharedSessionBuilder.java
M
v5migrationhelper/orm/src/main/java/org/hibernate/search/impl/FullTextSharedSessionBuilderDelegator.java
Log Message:
-----------
HSEARCH-4509 Upgrade to Hibernate ORM 6.0.0.CR2
Commit: a324d27be42b54075afde78b71b569d9208b1426
https://github.com/hibernate/hibernate-search/commit/a324d27be42b54075afd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-4523 Upgrade to Hibernate ORM 6.0.0.Final
Commit: 9a51b9799f2d6b2c684e1e1bf97e42453305aff7
https://github.com/hibernate/hibernate-search/commit/9a51b9799f2d6b2c684e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-4569 Upgrade to Hibernate ORM 6.0.1.Final
Commit: bb41ed40405988c9f3e82543b3e2a4629d3a4ed5
https://github.com/hibernate/hibernate-search/commit/bb41ed40405988c9f3e8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-4596 Upgrade to Hibernate ORM 6.0.2.Final
Commit: 1744e22f78f761fc216f495249a63c0df4a75974
https://github.com/hibernate/hibernate-search/commit/1744e22f78f761fc216f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-4606 Upgrade to Hibernate ORM 6.1.0.Final
Commit: 9d12be881cc453ddf8c19ba05d73a4066c62ec49
https://github.com/hibernate/hibernate-search/commit/9d12be881cc453ddf8c1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapter.java
Log Message:
-----------
HSEARCH-4627 Update the reason for a @SuppressForbiddenApis
Commit: 5b806a1b1fb86c4c9dc87365f52b809fde8ba53b
https://github.com/hibernate/hibernate-search/commit/5b806a1b1fb86c4c9dc8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-4627 Upgrade to Hibernate ORM 6.1.1.Final
Commit: 94ba2d82c803bb22a72a3370bd2bd9993a5fb248
https://github.com/hibernate/hibernate-search/commit/94ba2d82c803bb22a72a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/spi/HibernateOrmSearchScrollableResultsAdapter.java
Log Message:
-----------
HSEARCH-4635 Implement ScrollableResults#setFetchSize by throwing an error
This is necessary in order to support ORM 6.1.2.Final.
Commit: 2f0988afde616d88b00806a56fec17101e503f58
https://github.com/hibernate/hibernate-search/commit/2f0988afde616d88b008...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-4664 Upgrade to Hibernate ORM 6.1.2.Final
Commit: 3ea6e6d5bbd5db1f6fe8ff700515ab06dfd57d2d
https://github.com/hibernate/hibernate-search/commit/3ea6e6d5bbd5db1f6fe8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-4672 Upgrade to hibernate-commons-annotations 6.0.3.Final
Commit: a96507fcb2576fa18f11527024e63be6567a006b
https://github.com/hibernate/hibernate-search/commit/a96507fcb2576fa18f11...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-4758 Upgrade -orm6 artifacts to Hibernate ORM 6.1.6.Final
Commit: 03fbd3b6f4f97d7807e888118be711cff13a96ba
https://github.com/hibernate/hibernate-search/commit/03fbd3b6f4f97d7807e8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M integrationtest/java/modules/orm-coordination-outbox-polling-elasticsearch/pom.xml
M
integrationtest/java/modules/orm-coordination-outbox-polling-elasticsearch/src/main/java/module-info.java
Log Message:
-----------
HSEARCH-4768 Fix JavaModulePathTest with ORM 6.2
Commit: 47d9651210175281b82edeae72858d352e12a0a2
https://github.com/hibernate/hibernate-search/commit/47d9651210175281b82e...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
integrationtest/java/modules/orm-coordination-outbox-polling-elasticsearch/src/main/java/module-info.java
M integrationtest/java/modules/orm-elasticsearch/src/main/java/module-info.java
M integrationtest/java/modules/orm-lucene/src/main/java/module-info.java
Log Message:
-----------
HSEARCH-4768 Remove unnecessary 'requires' clauses in Java module tests with ORM
6
Since the mapper-orm module now defines 'requires' clauses by itself,
those don't need to be repeated in consuming modules.
Commit: 44e326b4fa7f2acecf05fd549111ff5cbb6b6557
https://github.com/hibernate/hibernate-search/commit/44e326b4fa7f2acecf05...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/BytecodeEnhancementIT.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapter.java
M pom.xml
Log Message:
-----------
TODOTICKET Upgrade to Hibernate ORM 6.2.0-SNAPSHOT
Commit: 7bfd80b2a10a55965bf1e276867e00e71ce46cce
https://github.com/hibernate/hibernate-search/commit/7bfd80b2a10a55965bf1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M build/config/src/main/resources/forbidden-internal.txt
M build/config/src/main/resources/forbidden-public.txt
Log Message:
-----------
TODOTICKET Forbid Uses of Hibernate ORM 6's
org.hibernate.tuple.entity.EntityMetamodel
Commit: 17a6818ba595ac4b0ed15cfe0704a19b06ac0df6
https://github.com/hibernate/hibernate-search/commit/17a6818ba595ac4b0ed1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-06 (Fri, 06 Jan 2023)
Changed paths:
M integrationtest/showcase/library/pom.xml
M orm6/build/parents/integrationtest/pom.xml
M orm6/build/parents/internal/pom.xml
M orm6/build/parents/public/pom.xml
M pom.xml
M util/common/pom.xml
M
util/common/src/main/java/org/hibernate/search/util/common/jar/impl/JandexUtils.java
M util/internal/test/common/pom.xml
Log Message:
-----------
HSEARCH-4688 Upgrade to Jandex 3.0
Compare:
https://github.com/hibernate/hibernate-search/compare/ab2fce3aa02a...17a6...