[hibernate/hibernate-orm] 5ac6ab: Implement member of predicate for collection element
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 5ac6ab2751bee3d06de5d2332f06c7e75cbf79ab
https://github.com/hibernate/hibernate-orm/commit/5ac6ab2751bee3d06de5d23...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicValuedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/QuerySplitter.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/PluralValuedSimplePathInterpretation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmGroupedPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmMemberOfPredicate.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/SqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstWalker.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/predicate/MemberOfPredicate.java
Log Message:
-----------
Implement member of predicate for collection element
Commit: 45328a574bac14bc6b290d6a1a9e37044a90f7c6
https://github.com/hibernate/hibernate-orm/commit/45328a574bac14bc6b290d6...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/FilterJdbcParameter.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/CollectionLoaderBatchKey.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/CollectionLoaderSingleKey.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/DatabaseSnapshotExecutor.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/MultiIdEntityLoaderStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/NaturalIdLoaderStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/SingleIdEntityLoaderDynamicBatch.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/SingleIdLoadPlan.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/SingleUniqueKeyEntityLoaderStandard.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/PluralAttributeMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/JpaMetamodelImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sql/internal/NativeSelectQueryPlanImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmUtil.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/AbstractSqmPathInterpretation.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/AssignableSqmPathInterpretation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/BasicValuedPathInterpretation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/EmbeddableValuedPathInterpretation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/EntityValuedPathInterpretation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/PluralValuedSimplePathInterpretation.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/cte/CteTable.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/predicate/MemberOfPredicate.java
A hibernate-core/src/main/java/org/hibernate/sql/exec/internal/JdbcParameterBindingImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collectionelement/EntityWithAnElementCollection.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collectionelement/QueryTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/onetomany/OneToManyHqlMemberOfQueryTest.java
Log Message:
-----------
Implement member of predicate for OneToMany association and Entity parameter binding
Commit: 34a5274b3fac4344092c54354e169cca76823161
https://github.com/hibernate/hibernate-orm/commit/34a5274b3fac4344092c543...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/DatabaseSnapshotExecutor.java
M hibernate-core/src/main/java/org/hibernate/mapping/Collection.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
A hibernate-core/src/main/java/org/hibernate/sql/results/internal/RowTransformerDatabaseSnapshotImpl.java
Log Message:
-----------
Fix issue with DatabaseSnapshotExecutor not returning the correct array
Commit: bdc1130f00a378603a0263d8f2102774b5bf072c
https://github.com/hibernate/hibernate-orm/commit/bdc1130f00a378603a0263d...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/manytomany/ManyToManyHqlMemberOfQueryTest.java
Log Message:
-----------
Add @ManyToMany member of test
Commit: bd3775b1149988a35bf80243d58cda0812f89bab
https://github.com/hibernate/hibernate-orm/commit/bd3775b1149988a35bf8024...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/PluralAttributeMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/StandardTableGroup.java
Log Message:
-----------
PluralAttributeMapping, add associate primary table join only when necessary
Commit: 7e87deb3492d13c2a28b9d4e652cb17d6d4953d8
https://github.com/hibernate/hibernate-orm/commit/7e87deb3492d13c2a28b9d4...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/AssociationKey.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/PluralAttributeMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/MultiTableSqmMutationConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/StandardSqmInsertTranslator.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/StandardSqmSelectTranslator.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/StandardSqmUpdateTranslator.java
M hibernate-core/src/test/java/org/hibernate/orm/test/manytomany/ManyToManyHqlMemberOfQueryTest.java
Log Message:
-----------
Fix @manyToMany member of query
Commit: 38753afab6f8e8955036b9c42a87b24de8e7213c
https://github.com/hibernate/hibernate-orm/commit/38753afab6f8e8955036b9c...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/process/internal/InferredBasicValueResolver.java
M hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/AttributeFactory.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableMappingType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicEntityIdentifierMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/AbstractManagedType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/EmbeddableDomainType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EmbeddableTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/MappingMetamodelImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collectionelement/EmbeddableElementCollectionMemberOfTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/compositefk/EagerManyToOneEmbeddedIdFKTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/compositefk/ManyToOneEmbeddedIdWithToOneFKTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/compositefk/OneToManyEmbeddedIdFKTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/EmbeddableAsParameterTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/EmbeddableWithPluralAttributeTest.java
Log Message:
-----------
Embedded collection member of and Embeddable parameter binding
Commit: 520cb95fa6ba661ba3205b34c1eca5f5ccbd6186
https://github.com/hibernate/hibernate-orm/commit/520cb95fa6ba661ba3205b3...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
Log Message:
-----------
Fix runtime model build error
Commit: 2cd869c73bc9b21a0f67f2fe55c063a7ffa203b3
https://github.com/hibernate/hibernate-orm/commit/2cd869c73bc9b21a0f67f2f...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/sql/results/internal/LoadingCollectionEntryImpl.java
Log Message:
-----------
Fix NPE with empty PersistentList
Commit: 638d1b2d4681ca36bbbe31a5f88fb24efbec54cd
https://github.com/hibernate/hibernate-orm/commit/638d1b2d4681ca36bbbe31a...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/loader/ast/internal/CollectionElementLoaderByIndex.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSelectBuilder.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicValuedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/spi/ExecutionContext.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/backref/map/compkey/BackrefCompositeMapKeyTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/backref/map/compkey/MapKey.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/backref/map/compkey/Mappings.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/backref/map/compkey/Part.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/backref/map/compkey/Product.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/original/Animal.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/original/CollectionTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/original/Email.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/original/Mammal.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/original/Permission.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/original/User.java
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/original/UserPermissions.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/original/Zoo.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/collection/original/Zoo.java
R hibernate-core/src/test/java/org/hibernate/test/collection/backref/map/compkey/BackrefCompositeMapKeyTest.java
R hibernate-core/src/test/java/org/hibernate/test/collection/backref/map/compkey/MapKey.java
R hibernate-core/src/test/java/org/hibernate/test/collection/backref/map/compkey/Mappings.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/collection/backref/map/compkey/Part.java
R hibernate-core/src/test/java/org/hibernate/test/collection/backref/map/compkey/Product.java
R hibernate-core/src/test/java/org/hibernate/test/collection/original/Animal.java
R hibernate-core/src/test/java/org/hibernate/test/collection/original/CollectionTest.java
R hibernate-core/src/test/java/org/hibernate/test/collection/original/Email.java
R hibernate-core/src/test/java/org/hibernate/test/collection/original/Mammal.java
R hibernate-core/src/test/java/org/hibernate/test/collection/original/Permission.java
R hibernate-core/src/test/java/org/hibernate/test/collection/original/User.java
R hibernate-core/src/test/java/org/hibernate/test/collection/original/UserPermissions.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/collection/original/Zoo.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/collection/original/Zoo.java
Log Message:
-----------
Implemented CollectionElementLoaderByIndex
Compare: https://github.com/hibernate/hibernate-orm/compare/59415fc190cc...638d1b2...
4 years, 4 months
[hibernate/hibernate-orm] 59415f: ResultSet mapping
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 59415fc190cc9f57f5eb4cd3e9c9b977fd91ce0d
https://github.com/hibernate/hibernate-orm/commit/59415fc190cc9f57f5eb4cd...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/BootLogging.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/spi/NativeQueryNonScalarRootReturn.java
A hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/spi/NativeQueryReturn.java
M hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/spi/ResultSetMappingBindingDefinition.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/MappingDocument.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/NamedQueryBinder.java
R hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ResultSetMappingBinder.java
A hibernate-core/src/main/java/org/hibernate/boot/query/BootQueryLogging.java
R hibernate-core/src/main/java/org/hibernate/boot/query/HbmResultSetMappingDefinitionBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/query/HbmResultSetMappingDescriptor.java
A hibernate-core/src/main/java/org/hibernate/boot/query/ImplicitHbmResultSetMappingDescriptorBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/query/NamedResultSetMappingDescriptor.java
M hibernate-core/src/main/java/org/hibernate/boot/query/SqlResultSetMappingDescriptor.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/MappingModelCreationLogger.java
M hibernate-core/src/main/java/org/hibernate/query/AbstractQueryParameter.java
R hibernate-core/src/main/java/org/hibernate/query/QueryLogger.java
A hibernate-core/src/main/java/org/hibernate/query/QueryLogging.java
M hibernate-core/src/main/java/org/hibernate/query/hql/HqlLogger.java
A hibernate-core/src/main/java/org/hibernate/query/internal/FetchMementoHbmStandard.java
M hibernate-core/src/main/java/org/hibernate/query/internal/FetchMementoJpa.java
M hibernate-core/src/main/java/org/hibernate/query/internal/ImplicitModelPartResultMemento.java
M hibernate-core/src/main/java/org/hibernate/query/internal/QueryInterpretationCacheStandardImpl.java
A hibernate-core/src/main/java/org/hibernate/query/internal/ResultMementoCollectionStandard.java
M hibernate-core/src/main/java/org/hibernate/query/internal/ResultMementoEntityStandard.java
A hibernate-core/src/main/java/org/hibernate/query/named/ModelPartResultMementoCollection.java
M hibernate-core/src/main/java/org/hibernate/query/named/NamedQueryRepository.java
M hibernate-core/src/main/java/org/hibernate/query/results/Builders.java
M hibernate-core/src/main/java/org/hibernate/query/results/DomainResultCreationStateImpl.java
M hibernate-core/src/main/java/org/hibernate/query/results/ResultsHelper.java
A hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderCollection.java
A hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderCollectionStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderEntityStandard.java
A hibernate-core/src/main/java/org/hibernate/query/results/implicit/package-info.java
M hibernate-core/src/main/java/org/hibernate/query/results/package-info.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngine.java
A hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngineOptions.java
M hibernate-core/src/main/java/org/hibernate/query/sql/internal/NativeQueryImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/SqmTreeCreationLogger.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/SqmTreeTransformationLogger.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmTreePrinter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/SqmMutationStrategyHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/package-info.java
M hibernate-core/src/main/xjb/hbm-mapping-bindings.xjb
M hibernate-core/src/test/java/org/hibernate/orm/test/query/resultmapping/DiscriminatedRoot.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/resultmapping/EntityResultTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/resultmapping/result-set-mapping.hbm.xml
M hibernate-core/src/test/resources/log4j.properties
Log Message:
-----------
ResultSet mapping
- Completed handling for hbm.xml resultset mappings
4 years, 4 months
[hibernate/hibernate-search] b088ee: HSEARCH-3787 Add timeout parameter to loadBlocking
by Fabio Massimo
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: b088eeb178c4146769bcdc51c3cc673d31b01cf4
https://github.com/hibernate/hibernate-search/commit/b088eeb178c4146769bc...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchLoadableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneLoadableSearchResult.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/DefaultProjectionHitMapper.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/ProjectionHitMapper.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/loading/impl/JavaBeanProjectionHitMapper.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/SearchWorkCall.java
Log Message:
-----------
HSEARCH-3787 Add timeout parameter to loadBlocking
Commit: 988f2b3eabc567a494c582fd1f5deb83e6f83b55
https://github.com/hibernate/hibernate-search/commit/988f2b3eabc567a494c5...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/NextScrollWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/ScrollWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/VerifyingStubBackendBehavior.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/StubBackendBehavior.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubSearchScroll.java
Log Message:
-----------
HSEARCH-3787 Pass timeout to NextScrollWorkCall instance
It will be used by the next commit
Commit: f50603d052e480c6752f69a084556689b27b424a
https://github.com/hibernate/hibernate-search/commit/f50603d052e480c6752f...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/NextScrollWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/SearchWorkCall.java
Log Message:
-----------
HSEARCH-3787 Pass timeout on Entity loading from stub backend
Commit: ec24afd5ebdde1c04341797319851f2d5943faae
https://github.com/hibernate/hibernate-search/commit/ec24afd5ebdde1c04341...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneExtractableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneLoadableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/timeout/impl/TimeoutManager.java
Log Message:
-----------
HSEARCH-3787 Pass timeout on Entity loading from lucene backend
Commit: 6022b19448b1cf5517f82c1096cfdf711c7816d5
https://github.com/hibernate/hibernate-search/commit/6022b19448b1cf5517f8...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/SearchWork.java
Log Message:
-----------
HSEARCH-3787 Store timeout in es SearchWork
Commit: 4d9a937e10ade42686cc374508c221236930eb9c
https://github.com/hibernate/hibernate-search/commit/4d9a937e10ade42686cc...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchScrollImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/Elasticsearch7WorkBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/ElasticsearchWorkBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/ScrollWork.java
Log Message:
-----------
HSEARCH-3787 Store timeout in es ScrollWork
Commit: affe165dbd1002e1fe31eeee0737270296f93b5a
https://github.com/hibernate/hibernate-search/commit/affe165dbd1002e1fe31...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchLoadableSearchResult.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/ElasticsearchSearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/ScrollWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/SearchWork.java
Log Message:
-----------
HSEARCH-3787 Pass timeout on Entity loading from es backend
Commit: fb39fb66017b25ffdf9be2e797617279f57b9a6b
https://github.com/hibernate/hibernate-search/commit/fb39fb66017b25ffdf9b...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/DefaultProjectionHitMapper.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/EntityLoader.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/IdentityEntityLoader.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/stub/MapperEasyMockUtils.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmByTypeEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmComposableEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoader.java
Log Message:
-----------
HSEARCH-3787 Support timeout on entity loading
Commit: 961326889f032b6b60bd83fcde0d8fcb61b8b76d
https://github.com/hibernate/hibernate-search/commit/961326889f032b6b60bd...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/common/timing/impl/DefaultTimingSource.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/common/timing/impl/TimingSource.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/impl/LuceneBackendFactory.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/impl/LuceneBackendImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/IndexManagerBackendContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/index/impl/NearRealTimeIOStrategy.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/reader/impl/NearRealTimeIndexReaderProvider.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/writer/impl/IndexWriterDelegatorImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/writer/impl/IndexWriterProvider.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/resources/impl/BackendThreads.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/impl/LuceneSearchContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/timeout/impl/LuceneCounterAdapter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/timeout/impl/TimeoutManager.java
M engine/src/main/java/org/hibernate/search/engine/backend/spi/BackendBuildContext.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/DelegatingBuildContext.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/RootBuildContext.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationPartialBuildStateImpl.java
A engine/src/main/java/org/hibernate/search/engine/common/resources/impl/EngineThreads.java
A engine/src/main/java/org/hibernate/search/engine/common/timing/impl/DefaultTimingSource.java
A engine/src/main/java/org/hibernate/search/engine/common/timing/impl/TimingSource.java
Log Message:
-----------
HSEARCH-3787 Move TimingSource to the engine
Commit: be328a9c2ba8d7ab9b8abb2051d98a2c38054a7d
https://github.com/hibernate/hibernate-search/commit/be328a9c2ba8d7ab9b8a...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/TimeoutCountCollector.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/collector/impl/TimeoutCountCollectorManager.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/CollectorSet.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/ExtractionRequirements.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectors.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/impl/LuceneSearchContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneExtractableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchScrollImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearcherImpl.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/timeout/impl/LuceneTimeoutManager.java
R backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/timeout/impl/TimeoutManager.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/work/impl/LuceneSearcher.java
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
A engine/src/main/java/org/hibernate/search/engine/search/timeout/spi/TimeoutManager.java
Log Message:
-----------
HSEARCH-3787 Extract TimeoutManager engine base class
Commit: cf3796ac7137d1f5bb41eccc93902ed0df1c45f8
https://github.com/hibernate/hibernate-search/commit/cf3796ac7137d1f5bb41...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/spi/MappingBuildContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMapping.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/EntityLoaderBuilder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmLoadingSessionContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSessionMappingContext.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/mapping/impl/PojoMappingDelegateImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/PojoMappingDelegate.java
Log Message:
-----------
HSEARCH-3787 Pass timer source to ORM EntityLoaderBuilder
Commit: 834149300df5804055054c688b5bdb07498eff24
https://github.com/hibernate/hibernate-search/commit/834149300df580405505...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/timeout/spi/TimeoutManager.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/EntityLoaderBuilder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmByTypeEntityLoader.java
Log Message:
-----------
HSEARCH-3787 Use a deadline instead of a timeout
Commit: 0493b75ba5fd5bf9e67d9c338fb6127916cca96c
https://github.com/hibernate/hibernate-search/commit/0493b75ba5fd5bf9e67d...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchLoadableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneLoadableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/timeout/impl/LuceneTimeoutManager.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/DefaultProjectionHitMapper.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/EntityLoader.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/IdentityEntityLoader.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/ProjectionHitMapper.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/loading/impl/JavaBeanProjectionHitMapper.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmByTypeEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmComposableEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoader.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/SearchWorkCall.java
Log Message:
-----------
HSEARCH-3787 Use always long type to store timeout millis
Different commit, not sure it the right choice
Commit: be7bfd99c3ee32eb74e5d3013ec267ee1653b439
https://github.com/hibernate/hibernate-search/commit/be7bfd99c3ee32eb74e5...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/stub/MapperEasyMockUtils.java
Log Message:
-----------
HSEARCH-3787 Improve the test framework to check timeout
Commit: e535d0a1f5dc224f23caf7531af9526d4a2e250a
https://github.com/hibernate/hibernate-search/commit/e535d0a1f5dc224f23ca...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryScrollResultLoadingIT.java
Log Message:
-----------
HSEARCH-3787 Test backend generate entity loading timeout for scrolling
Commit: 676232410d9f802d5782a7eba08cbbd1c520808f
https://github.com/hibernate/hibernate-search/commit/676232410d9f802d5782...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryResultLoadingOrTransformingIT.java
Log Message:
-----------
HSEARCH-3787 Test backend generate entity loading timeout for searching
Commit: 2f8eabe08efc61ff4a6e52994a7a009988e2ea1c
https://github.com/hibernate/hibernate-search/commit/2f8eabe08efc61ff4a6e...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/cfg/spi/ConvertUtils.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/NextScrollWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/SearchWorkCall.java
Log Message:
-----------
HSEARCH-3787 Move the millisecond conversion to an helper
Commit: 8aa74d57fffdcb69ddc07745470ca137f9167e54
https://github.com/hibernate/hibernate-search/commit/8aa74d57fffdcb69ddc0...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmComposableEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoader.java
Log Message:
-----------
HSEARCH-3787 Pass timeout as hint query parameter
Commit: 4fa9f6a6170ee1f702806ef4b4faffa8985595f2
https://github.com/hibernate/hibernate-search/commit/4fa9f6a6170ee1f70280...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/impl/LuceneBackendImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/IndexManagerBackendContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/index/impl/NearRealTimeIOStrategy.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/reader/impl/NearRealTimeIndexReaderProvider.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/writer/impl/IndexWriterDelegatorImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/writer/impl/IndexWriterProvider.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/CollectorSet.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/impl/LuceneSearchContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneExtractableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/timeout/impl/LuceneCounterAdapter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/timeout/impl/LuceneTimeoutManager.java
M engine/src/main/java/org/hibernate/search/engine/backend/spi/BackendBuildContext.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/DelegatingBuildContext.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/RootBuildContext.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationBuilderImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/SearchIntegrationPartialBuildStateImpl.java
M engine/src/main/java/org/hibernate/search/engine/common/timing/impl/DefaultTimingSource.java
R engine/src/main/java/org/hibernate/search/engine/common/timing/impl/TimingSource.java
A engine/src/main/java/org/hibernate/search/engine/common/timing/spi/TimingSource.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/spi/MappingBuildContext.java
M engine/src/main/java/org/hibernate/search/engine/search/timeout/spi/TimeoutManager.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMapping.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/EntityLoaderBuilder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmByTypeEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmLoadingSessionContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSessionMappingContext.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/mapping/impl/PojoMappingDelegateImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/PojoMappingDelegate.java
Log Message:
-----------
HSEARCH-3787 Move TimingSource to spi
Commit: ccb3c0f19e8447f17c6852784b50f6cf9e39d275
https://github.com/hibernate/hibernate-search/commit/ccb3c0f19e8447f17c68...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/AbstractSearchQueryEntityLoadingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/AbstractSearchQueryEntityLoadingSingleTypeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/SearchQueryEntityLoadingBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/SearchQueryEntityLoadingScrollingIT.java
Log Message:
-----------
HSEARCH-3787 Test a very large timeout (fetch and scrolling)
Commit: 4a91499648814f4a0cc1e9f40041ccf7557d33a6
https://github.com/hibernate/hibernate-search/commit/4a91499648814f4a0cc1...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/SearchQueryBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/SearchQueryEntityLoadingMultipleTypesIT.java
A util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/SlowerLoadingListener.java
Log Message:
-----------
HSEARCH-3787 Test small timeout multiple types loading
Commit: 78773c1245e271a11b27ced3ad4095eb736b46fb
https://github.com/hibernate/hibernate-search/commit/78773c1245e271a11b27...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoader.java
Log Message:
-----------
HSEARCH-3787 Throw SearchTimeoutException on jdbc loading timeout
Commit: eb9ab7cfefc13002226445bdfe8056ca2a50efb1
https://github.com/hibernate/hibernate-search/commit/eb9ab7cfefc130022264...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/SearchQueryBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/loading/SearchQueryEntityLoadingBaseIT.java
A util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/TimeoutLoadingListener.java
Log Message:
-----------
HSEARCH-3787 Test SearchTimeoutException on jdbc loading timeout
Commit: 81c0c597f77c5af463ced9d0bba42664da53d635
https://github.com/hibernate/hibernate-search/commit/81c0c597f77c5af463ce...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchBackendFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/impl/ElasticsearchBackendImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/IndexManagerBackendContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/logging/impl/Log.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/impl/ElasticsearchSearchContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/timeout/impl/ElasticsearchTimeoutManager.java
Log Message:
-----------
HSEARCH-3774 Provide a time manager from ElasticsearchSearchContext
Commit: 7df6edaa1b293bbb798fdb786d3507ea4eae75fa
https://github.com/hibernate/hibernate-search/commit/7df6edaa1b293bbb798f...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchScrollImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/timeout/impl/ElasticsearchTimeoutManager.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/Elasticsearch7WorkBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/ElasticsearchWorkBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/impl/CountWorkBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/impl/SearchWorkBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/AbstractNonBulkableWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/CountWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/ScrollWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/SearchWork.java
Log Message:
-----------
HSEARCH-3774 Use timeout manager in search/scroll/count works
Commit: f80e8ff921833e3c7623b12664c7d7a6126a37c7
https://github.com/hibernate/hibernate-search/commit/f80e8ff921833e3c7623...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchScrollImpl.java
Log Message:
-----------
HSEARCH-3774 Start/stop timeout manager for each relevant request
Commit: 593914161323ebde4bd44caf3b0172fa36182f07
https://github.com/hibernate/hibernate-search/commit/593914161323ebde4bd4...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchScrollImpl.java
Log Message:
-----------
HSEARCH-3774 Build the first scroll search work in next
Commit: 9a105a2a1897983c56c8538d06650f6b3ebe7046
https://github.com/hibernate/hibernate-search/commit/9a105a2a1897983c56c8...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/timeout/impl/ElasticsearchTimeoutManager.java
Log Message:
-----------
HSEARCH-3774 Pass the remaining time to ES request
Commit: 7120ccfecd99d04cbf1da9dcb67c957b0a004af2
https://github.com/hibernate/hibernate-search/commit/7120ccfecd99d04cbf1d...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/timeout/impl/ElasticsearchTimeoutManager.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/ElasticsearchSearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/ScrollWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/SearchWork.java
Log Message:
-----------
HSEARCH-3774 Pass the remaining time to loadable result
Commit: fc5d01208e0f5135cd10e4be6db84559e9e842f5
https://github.com/hibernate/hibernate-search/commit/fc5d01208e0f5135cd10...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/NextScrollWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/ScrollWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/SearchWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/VerifyingStubBackendBehavior.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/StubBackendBehavior.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubBackend.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubBackendFactory.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubSearchQuery.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/StubSearchScroll.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/timeout/impl/StubTimeoutManager.java
Log Message:
-----------
HSEARCH-3787 Use timeout manager in stub search/scroll/count
Commit: 0e28d595df1fa0b93d2c3d910b814c546d678477
https://github.com/hibernate/hibernate-search/commit/0e28d595df1fa0b93d2c...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/Elasticsearch7SearchResultExtractor.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchLoadableSearchResult.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/timeout/impl/ElasticsearchTimeoutManager.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneExtractableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneLoadableSearchResult.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/timeout/impl/LuceneTimeoutManager.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/DefaultProjectionHitMapper.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/ProjectionHitMapper.java
M engine/src/main/java/org/hibernate/search/engine/search/timeout/spi/TimeoutManager.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryScrollResultLoadingIT.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/search/loading/impl/JavaBeanProjectionHitMapper.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/SearchWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/timeout/impl/StubTimeoutManager.java
Log Message:
-----------
HSEARCH-3787 Use timeout manager in ProjectionHitMapper#loadBlocking
Commit: 9d5b3dba24b1d8620f936722257ab932a88dc44f
https://github.com/hibernate/hibernate-search/commit/9d5b3dba24b1d8620f93...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/DefaultProjectionHitMapper.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/EntityLoader.java
M engine/src/main/java/org/hibernate/search/engine/search/loading/spi/IdentityEntityLoader.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryResultLoadingOrTransformingIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/query/SearchQueryScrollResultLoadingIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/stub/MapperEasyMockUtils.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmByTypeEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmComposableEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoader.java
Log Message:
-----------
HSEARCH-3787 Use TimeoutManager in EntityLoader#loadBlocking
Commit: 8a422a0be29a972bae2dcf641eef74e3f71a2353
https://github.com/hibernate/hibernate-search/commit/8a422a0be29a972bae2d...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/SearchWork.java
Log Message:
-----------
HSEARCH-3774 Fix sonar issue
Commit: e0ab3296249cb79c4b448bd238545d58e7788ab2
https://github.com/hibernate/hibernate-search/commit/e0ab3296249cb79c4b44...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/building/spi/MappingBuildContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMapping.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/EntityLoaderBuilder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmByTypeEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmLoadingSessionContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSessionMappingContext.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/mapping/impl/PojoMappingDelegateImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/spi/PojoMappingDelegate.java
Log Message:
-----------
HSEARCH-3787 Avoid to expose timing source from the mappers
We don't need it anymore
Commit: a0e8a07b63faf44dfe9ce517893e6f0dce7527ef
https://github.com/hibernate/hibernate-search/commit/a0e8a07b63faf44dfe9c...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2020-08-18 (Tue, 18 Aug 2020)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/timeout/impl/ElasticsearchTimeoutManager.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/CountWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/SearchWork.java
Log Message:
-----------
HSEARCH-3774 Remove exceptionOnTimeout method
Use the base class hasHardTimeout method instead
Compare: https://github.com/hibernate/hibernate-search/compare/588e900aff04...a0e8...
4 years, 4 months