[hibernate/hibernate-search] fafeaa: HSEARCH-3056 Pass an object representing the conte...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: fafeaa2f76c5ac75150a34ad519f2e6819cd2ac7
https://github.com/hibernate/hibernate-search/commit/fafeaa2f76c5ac75150a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/NoOpPojoImplicitReindexingResolverNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolver.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverCastedTypeNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverContainerElementNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverDirtinessFilterNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverMarkingNode.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/automaticindexing/impl/PojoImplicitReindexingResolverNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverOriginalTypeNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverPropertyNode.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverRootContext.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/spi/PojoImplicitReindexingResolverSessionContext.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoContainedTypeManager.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManager.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/PojoWorkTypeContext.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/spi/PojoWorkSessionContext.java
Log Message:
-----------
HSEARCH-3056 Pass an object representing the context to PojoImplicitReindexingResolver
This will be necessary in the next commit.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 6ce452d1e46cc85dadbbb33bf906d833e6beb103
https://github.com/hibernate/hibernate-search/commit/6ce452d1e46cc85dadbb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/lifecycle/CleanupIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldContainerExtractorBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/util/StartupStubContainerExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverContainerElementNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/ContainerExtractor.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/ValueProcessor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/BooleanArrayElementExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/ByteArrayElementExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/CharArrayElementExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/CollectionElementExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/DoubleArrayElementExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/FloatArrayElementExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/IntArrayElementExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/IterableElementExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/LongArrayElementExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/MapKeyExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/MapValueExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/ObjectArrayElementExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/OptionalDoubleValueExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/OptionalIntValueExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/OptionalLongValueExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/OptionalValueExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/builtin/impl/ShortArrayElementExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/impl/ChainingContainerExtractor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorContainerElementNode.java
Log Message:
-----------
HSEARCH-3056 Avoid instantiating lambdas when calling a ContainerExtractor
With this change, we'll avoid once instantiation per container
encountered while processing entities to index.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 90df91ce918437ebccabc29573d864394dce1f6d
https://github.com/hibernate/hibernate-search/commit/90df91ce918437ebccab...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverContainerElementNode.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/impl/ChainingContainerExtractor.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/impl/ChainingContainerExtractorHolder.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/impl/ContainerExtractingProcessor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/impl/ContainerExtractorBinder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/impl/ContainerExtractorHolder.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/extractor/impl/SingleContainerExtractorHolder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorContainerElementNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorContainerElementNode.java
Log Message:
-----------
HSEARCH-3056 Avoid instantiating lambdas when calling chained ContainerExtractors
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: b7abead38dc82285da6f6a2e9867901ac804422c
https://github.com/hibernate/hibernate-search/commit/b7abead38dc82285da6f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/BoundPropertyBridge.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/BoundRoutingBridge.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/BoundTypeBridge.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/BoundValueBridge.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/DefaultIdentifierBindingContext.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/PropertyBindingContextImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/TypeBindingContextImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/ValueBindingContextImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/mapping/impl/BeanBinder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/PropertyIdentifierMapping.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/runtime/impl/ProvidedIdentifierMapping.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoRootIdentityMappingCollector.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManager.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/AbstractPojoIndexingProcessorTypeNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorPropertyNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorValueNodeBuilderDelegate.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorPropertyBridgeNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorTypeBridgeNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorValueBridgeNode.java
M util/common/src/main/java/org/hibernate/search/util/common/impl/AbstractCloser.java
M util/common/src/main/java/org/hibernate/search/util/common/impl/SuppressingCloser.java
M util/common/src/test/java/org/hibernate/search/util/common/impl/CloserTest.java
M util/common/src/test/java/org/hibernate/search/util/common/impl/SuppressingCloserTest.java
Log Message:
-----------
HSEARCH-3056 Avoid instantiating lambdas when using closers
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: de8c891c89131fc57dc65f449e83110e32db72b7
https://github.com/hibernate/hibernate-search/commit/de8c891c89131fc57dc6...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/impl/AnnotationPojoTypeMetadataContributorFactory.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/impl/AbstractPojoModelCompositeElement.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/spi/AbstractPojoRawTypeModel.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/spi/PojoRawTypeModel.java
Log Message:
-----------
HSEARCH-3056 Remove an unnecessary stream in PojoRawTypeModel
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: dbca1e6ba8af3e74397fc702498f0aed0796e702
https://github.com/hibernate/hibernate-search/commit/dbca1e6ba8af3e74397f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M mapper/orm-batch-jsr352/core/src/main/java/org/hibernate/search/batch/jsr352/core/massindexing/impl/JobContextData.java
M mapper/orm-batch-jsr352/core/src/main/java/org/hibernate/search/batch/jsr352/core/massindexing/step/lucene/impl/ProgressAggregator.java
M mapper/orm-batch-jsr352/core/src/main/java/org/hibernate/search/batch/jsr352/core/massindexing/util/impl/JobContextUtil.java
M mapper/orm-batch-jsr352/core/src/main/java/org/hibernate/search/batch/jsr352/core/massindexing/util/impl/ValidationUtil.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBasicTypeMetadataProvider.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/binding/impl/ValueBindingContextImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/mapping/impl/BeanBinder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoMapper.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/additionalmetadata/building/impl/PojoTypeAdditionalMetadataProvider.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorValueNodeBuilderDelegate.java
Log Message:
-----------
HSEARCH-3056 Avoid functional code where an imperative approach is just as clear
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 3f71a713ec60f0474244eb390c1fcab49eb6772f
https://github.com/hibernate/hibernate-search/commit/3f71a713ec60f0474244...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/mapping/definition/AnnotationMappingDiscoveryIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/AnnotationMappingDiscoveryIT.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/alternative/impl/AlternativeBinderImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/spatial/impl/GeoPointBridge.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/PojoModelCompositeElement.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/PojoModelProperty.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/additionalmetadata/building/impl/PojoPropertyAdditionalMetadataBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/additionalmetadata/impl/PojoPropertyAdditionalMetadata.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/impl/AbstractPojoModelCompositeElement.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/impl/PojoModelNestedCompositeElement.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/impl/PojoModelPropertyRootElement.java
M v5migrationhelper/engine/src/main/java/org/hibernate/search/bridge/builtin/impl/CoordinatesBridge.java
Log Message:
-----------
HSEARCH-3056 Expose Collection rather than Stream in metamodel APIs
So that users aren't forced to use lambdas unnecessarily.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: d1f93c7eb97ec39786e5a69b1251c58ea3cc6036
https://github.com/hibernate/hibernate-search/commit/d1f93c7eb97ec39786e5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/writer/impl/IndexWriterSettings.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/schema/management/impl/LuceneIndexSchemaManager.java
M mapper/orm-batch-jsr352/core/src/main/java/org/hibernate/search/batch/jsr352/core/massindexing/step/lucene/impl/StepProgressSetupListener.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/alternative/impl/AlternativeBinderImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/spatial/impl/GeoPointBridge.java
M v5migrationhelper/engine/src/main/java/org/hibernate/search/bridge/builtin/impl/CoordinatesBridge.java
Log Message:
-----------
HSEARCH-3056 Avoid using lambdas where a method reference or factory method is just as clear
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/528fbf73235a...d1f9...
4 years, 2 months
[hibernate/hibernate-orm] 939176: HHH-14299 Upgrade to Hibernate Commons Annotations...
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 9391768d5a0217416d429974395af7719f05757e
https://github.com/hibernate/hibernate-orm/commit/9391768d5a0217416d42997...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-10-30 (Fri, 30 Oct 2020)
Changed paths:
M gradle/libraries.gradle
Log Message:
-----------
HHH-14299 Upgrade to Hibernate Commons Annotations 5.1.2.Final
Commit: f286c4912cc7053954f0f181b47e335a0f5f8162
https://github.com/hibernate/hibernate-orm/commit/f286c4912cc7053954f0f18...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-10-31 (Sat, 31 Oct 2020)
Changed paths:
M gradle/libraries.gradle
Log Message:
-----------
HHH-14300 Update to Hibernate Validator 6.1.6.Final
Commit: 1baa95edf5dc42be78f3816bfeb00d99b2d8bff3
https://github.com/hibernate/hibernate-orm/commit/1baa95edf5dc42be78f3816...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-10-31 (Sat, 31 Oct 2020)
Changed paths:
M gradle/libraries.gradle
Log Message:
-----------
HHH-14301 Upgrade to Byte Buddy 1.10.17
Commit: ce9cd57340b670a385467c6b1a6fa7708194af0c
https://github.com/hibernate/hibernate-orm/commit/ce9cd57340b670a385467c6...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-10-31 (Sat, 31 Oct 2020)
Changed paths:
M gradle/libraries.gradle
Log Message:
-----------
HHH-14302 Upgrade to Agroal 1.9
Commit: 2dd82d553f339dcd002cefa660a56604e18a03ce
https://github.com/hibernate/hibernate-orm/commit/2dd82d553f339dcd002cefa...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-10-31 (Sat, 31 Oct 2020)
Changed paths:
M gradle/libraries.gradle
Log Message:
-----------
HHH-14303 Upgrade to JBoss Loging 3.4.1.Final
Commit: c60765a528bfd450eb2cbd4d0454107bcc9236a2
https://github.com/hibernate/hibernate-orm/commit/c60765a528bfd450eb2cbd4...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/internal/util/collections/LazyIndexedMap.java
A hibernate-core/src/main/java/org/hibernate/internal/util/collections/LockModeEnumMap.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
Log Message:
-----------
HHH-14304 Replacing eager initialization of LockingStrategy within AbstractEntityPersister
And introducing a new ad-hoc collection LazyIndexedMap, useful to
lazily initialize elements which can be indexed by int, such
as the ordinal of enums.
Commit: 81d526e4db283a92fd3c6adaa5c7efd9c877999d
https://github.com/hibernate/hibernate-orm/commit/81d526e4db283a92fd3c6ad...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
A hibernate-core/src/main/java/org/hibernate/persister/entity/EntityLoaderLazyCollection.java
Log Message:
-----------
HHH-14271 Lazy initialization of UniqueEntityLoader for most LockMode types
Commit: 250db69e8e47e51cdf511359e82f06570c321d86
https://github.com/hibernate/hibernate-orm/commit/250db69e8e47e51cdf51135...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/internal/EntityLoadQueryDetails.java
Log Message:
-----------
HHH-14305 Remove unused logger
Commit: fb34b720bc4611382a0e8506071965160156ecdf
https://github.com/hibernate/hibernate-orm/commit/fb34b720bc4611382a0e850...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/util/collections/CollectionHelper.java
Log Message:
-----------
HHH-14305 Introduce new method in CollectionsHelper to reduce size of long lived collections
Commit: 0dedcd05dbcacb9b109fbb3a7cc413183c609333
https://github.com/hibernate/hibernate-orm/commit/0dedcd05dbcacb9b109fbb3...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
Log Message:
-----------
HHH-14305 Avoid referring to an empty ArrayList for AbstractEntityPersister#lobProperties
Commit: 820fe56aa46d5367122c7cca35a13608da63cee2
https://github.com/hibernate/hibernate-orm/commit/820fe56aa46d5367122c7cc...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/AbstractIdentifiableType.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
Log Message:
-----------
HHH-14305 Memory savings in SingleTableEntityPersister
Commit: e9278288a7e17aa62c58820cfc8a899f4a406b17
https://github.com/hibernate/hibernate-orm/commit/e9278288a7e17aa62c58820...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
Log Message:
-----------
HHH-14305 Reduce retained memory consumption of SingleTableEntityPersister
Commit: 169a01857cadf3812387b5cffcd158d4c40cc57e
https://github.com/hibernate/hibernate-orm/commit/169a01857cadf3812387b5c...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
Log Message:
-----------
HHH-14305 Reduce memory consumption of AbstractEntityPersister#attributeDefinitions
Commit: 2dde4c171017725ae8c14b81b6df7b859d1d90fa
https://github.com/hibernate/hibernate-orm/commit/2dde4c171017725ae8c14b8...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
Log Message:
-----------
HHH-14305 Memory optimisation for AbstractEntityPersister#affectingFetchProfileNames
Commit: 35c58e987726e31192f466f46f1ac6b0d6d54227
https://github.com/hibernate/hibernate-orm/commit/35c58e987726e31192f466f...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/AbstractManagedType.java
Log Message:
-----------
HHH-14305 Memory optimisations for AbstractManagedType#declaredPluralAttributes
Commit: 9f54dae5d29912fa555fdcc51e7c457e3bad07f5
https://github.com/hibernate/hibernate-orm/commit/9f54dae5d29912fa555fdcc...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractPropertyMapping.java
Log Message:
-----------
HHH-14305 Memory optimisation for AbstractPropertyMapping#duplicateIncompatiblePaths
Commit: ad5bec0a54123843f5313fa75a4debbe7a167081
https://github.com/hibernate/hibernate-orm/commit/ad5bec0a54123843f5313fa...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
Log Message:
-----------
HHH-14305 Memory optimisations for AbstractEntityPersister#uniqueKeyLoaders
Commit: 345b503f21f4f1f7e809598d63f01ce30f1ca749
https://github.com/hibernate/hibernate-orm/commit/345b503f21f4f1f7e809598...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/spi/NamedQueryRepository.java
Log Message:
-----------
HHH-14305 Memory optimisations for NamedQueryRepository
Commit: da700f619bae433810c6fbbdad06205e77036645
https://github.com/hibernate/hibernate-orm/commit/da700f619bae433810c6fbb...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
Log Message:
-----------
HHH-14305 Memory optimisations for EntityMetamodel
Commit: e6ac4d487695a70d2d17bfa5fd6a6743c3d90ccc
https://github.com/hibernate/hibernate-orm/commit/e6ac4d487695a70d2d17bfa...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/internal/AbstractLoadQueryDetails.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/process/internal/AbstractRowReader.java
Log Message:
-----------
HHH-14305 Memory optimisations for ReaderCollector implementations
Commit: 67fd24ecff9f9a9a2e848805c04590b4b4ee2b3e
https://github.com/hibernate/hibernate-orm/commit/67fd24ecff9f9a9a2e84880...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2020-11-01 (Sun, 01 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
Log Message:
-----------
Make new EntityLoader buildling methods in AbstractEntityPersister protected for Hibernate Reactive
Commit: 1b7017ff71370c197a872869877b70f641cf9b61
https://github.com/hibernate/hibernate-orm/commit/1b7017ff71370c197a87286...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/internal/util/collections/CollectionHelper.java
A hibernate-core/src/main/java/org/hibernate/internal/util/collections/LazyIndexedMap.java
A hibernate-core/src/main/java/org/hibernate/internal/util/collections/LockModeEnumMap.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/AbstractIdentifiableType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/AbstractManagedType.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractPropertyMapping.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
Log Message:
-----------
Merge remote-tracking branch 'upstream/master' into wip/6.0
Compare: https://github.com/hibernate/hibernate-orm/compare/8dd04eda9f8a...1b7017f...
4 years, 2 months
[hibernate/hibernate-search] a16f1f: HSEARCH-4049 Move JBatch runtime dependencies to a...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: a16f1fe4b37c64dd75ec7416cb063c0867a885e7
https://github.com/hibernate/hibernate-search/commit/a16f1fe4b37c64dd75ec...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M documentation/pom.xml
R documentation/src/test/resources/META-INF/batch.xml
R documentation/src/test/resources/META-INF/services/batch-config.properties
R documentation/src/test/resources/META-INF/services/batch-services.properties
M integrationtest/mapper/orm-batch-jsr352/pom.xml
R integrationtest/mapper/orm-batch-jsr352/src/test/resources/META-INF/services/batch-config.properties
R integrationtest/mapper/orm-batch-jsr352/src/test/resources/META-INF/services/batch-services.properties
M parents/integrationtest/pom.xml
M pom.xml
A util/internal/integrationtest/jbatch-runtime/pom.xml
A util/internal/integrationtest/jbatch-runtime/src/main/resources/META-INF/services/batch-config.properties
A util/internal/integrationtest/jbatch-runtime/src/main/resources/META-INF/services/batch-services.properties
M util/internal/integrationtest/pom.xml
Log Message:
-----------
HSEARCH-4049 Move JBatch runtime dependencies to a dedicated test util module
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: af2850db4ebdfd7ef7dcb5e703acb819b4fc28a2
https://github.com/hibernate/hibernate-search/commit/af2850db4ebdfd7ef7dc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M parents/integrationtest/pom.xml
Log Message:
-----------
HSEARCH-4049 Reorganize some messy dependency management in the integration test parent
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 41a6856f7cb76a9b56f2e5211e4a39d8c4f4c9a5
https://github.com/hibernate/hibernate-search/commit/41a6856f7cb76a9b56f2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M parents/integrationtest/pom.xml
M pom.xml
A util/internal/integrationtest/jberet-se/pom.xml
A util/internal/integrationtest/jberet-se/src/main/resources/jberet.properties
M util/internal/integrationtest/pom.xml
Log Message:
-----------
HSEARCH-4049 Add JBeret runtime dependencies to a dedicated test util module
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: ab2696497a2ce16128460e51e348b033991a384d
https://github.com/hibernate/hibernate-search/commit/ab2696497a2ce1612846...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M integrationtest/mapper/orm-batch-jsr352/pom.xml
M integrationtest/mapper/orm-batch-jsr352/src/test/java/org/hibernate/search/integrationtest/batch/jsr352/massindexing/AbstractBatchIndexingIT.java
M integrationtest/mapper/orm-batch-jsr352/src/test/java/org/hibernate/search/integrationtest/batch/jsr352/massindexing/MassIndexingJobWithMultiTenancyIT.java
M integrationtest/mapper/orm-batch-jsr352/src/test/java/org/hibernate/search/integrationtest/batch/jsr352/massindexing/RestartChunkIT.java
M integrationtest/mapper/orm-batch-jsr352/src/test/java/org/hibernate/search/integrationtest/batch/jsr352/util/JobTestUtil.java
Log Message:
-----------
HSEARCH-4049 Run JSR-352 tests against both JBeret and JBatch
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/74d229151c86...ab26...
4 years, 2 months
[hibernate/hibernate-search] 1afdfe: HSEARCH-4083 Rely on a standard, hack-free configu...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 1afdfe73c9a1823b2f89f0f766b3c795653c0276
https://github.com/hibernate/hibernate-search/commit/1afdfe73c9a1823b2f89...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M pom.xml
Log Message:
-----------
HSEARCH-4083 Rely on a standard, hack-free configuration for running JQAssistant
Apparently the hacks we had in place no longer work with JQAssistant
1.8, and Java classes were no longer collected.
With this new configuration, all information is correctly collected.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 840ab2a0ea86e38f947090cd2f7ede68a2265c14
https://github.com/hibernate/hibernate-search/commit/840ab2a0ea86e38f9470...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M CONTRIBUTING.md
M pom.xml
Log Message:
-----------
HSEARCH-4083 Remove unnecessary jqassistant-server profile
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: dd92cbfd6978ed8e33abdf912379c82e1edaed92
https://github.com/hibernate/hibernate-search/commit/dd92cbfd6978ed8e33ab...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M jqassistant/rules.xml
Log Message:
-----------
HSEARCH-3402 Merge some JQAssistant rules together
To simplify the rules.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 5d118d27408678d6235abe32a7672202ac83d5bf
https://github.com/hibernate/hibernate-search/commit/5d118d27408678d6235a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M jqassistant/rules.xml
Log Message:
-----------
HSEARCH-3402 Add JQAssistant rule to forbid exposing CompletableFuture in API
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: eabe90c516ac0d43bf7705bdb49329d9c3268c76
https://github.com/hibernate/hibernate-search/commit/eabe90c516ac0d43bf77...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/LuceneIndexManager.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexManagerImpl.java
M documentation/src/main/asciidoc/reference/backend-lucene.asciidoc
M documentation/src/test/java/org/hibernate/search/documentation/backend/lucene/indexmanager/LuceneGetIndexSizeIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/index/LuceneIndexManagerIT.java
Log Message:
-----------
HSEARCH-3402 Expose both a sync and async version of LuceneIndexManager.computeSizeInBytes()
Because we're going to stop exposing a CompletableFuture, and then it
will get really complex to work with the result of this method for
users not familiar with reactive programming.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 11461eb93d7b912f4dcd8726c5d3c27963e45c4b
https://github.com/hibernate/hibernate-search/commit/11461eb93d7b912f4dcd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/LuceneIndexManager.java
M documentation/src/main/asciidoc/reference/mapper-orm-indexing-manual.asciidoc
M documentation/src/main/asciidoc/reference/mapper-orm-indexing-massindexer.asciidoc
M documentation/src/test/java/org/hibernate/search/documentation/backend/lucene/indexmanager/LuceneGetIndexSizeIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/indexing/HibernateOrmMassIndexerIT.java
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/index/LuceneIndexManagerIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingInterruptionIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/workspace/AbstractSearchWorkspaceSimpleOperationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/workspace/SearchWorkspaceFlushIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/workspace/SearchWorkspaceMergeSegmentsIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/workspace/SearchWorkspacePurgeBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/workspace/SearchWorkspacePurgeRoutingKeyIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/workspace/SearchWorkspaceRefreshIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/AbstractPojoIndexingOperationIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/PojoIndexingAddIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/PojoIndexingAddOrUpdateIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/PojoIndexingDeleteIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/work/PojoIndexingPurgeIT.java
M integrationtest/v5migrationhelper/engine/src/test/java/org/hibernate/search/testsupport/junit/SearchITHelper.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/work/SearchIndexer.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/work/impl/SearchIndexerImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/MassIndexer.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/work/SearchWorkspace.java
M util/common/src/main/java/org/hibernate/search/util/common/impl/Futures.java
M util/internal/test/src/main/java/org/hibernate/search/util/impl/test/FutureAssert.java
M v5migrationhelper/orm/src/main/java/org/hibernate/search/massindexing/impl/V5MigrationMassIndexerAdapter.java
Log Message:
-----------
HSEARCH-3402 Replace CompletableFuture with CompletionStage in APIs
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/044a06c98875...1146...
4 years, 2 months