[hibernate/hibernate-search] 96f896: HSEARCH-4172 Ignore relative ordering of works on ...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 96f896b64de30cdb7aac806d0d6236eb29cb12b2
https://github.com/hibernate/hibernate-search/commit/96f896b64de30cdb7aac...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingConcurrentModificationInSameTypeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/dynamicmap/DynamicMapBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/AbstractMassIndexingErrorIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/AbstractMassIndexingFailureIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingComplexHierarchyIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingEmbeddedIdIT.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/massindexing/MassIndexingMonitorIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingNonEntityIdDocumentIdIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/MassIndexingPrimitiveIdIT.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMock.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/DocumentKey.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/DocumentWorkCall.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/VerifyingStubBackendBehavior.java
Log Message:
-----------
HSEARCH-4172 Ignore relative ordering of works on different documents in BackendMock
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
3 years, 9 months
[hibernate/hibernate-orm] d4ffbe: Introduce callback in dialect to resolve the SqlTy...
by Christian Beikov
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: d4ffbea54f7840856b718db90da10bd6d9905a1e
https://github.com/hibernate/hibernate-orm/commit/d4ffbea54f7840856b718db...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CacheDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/FirebirdDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MaxDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TeradataDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TimesTenDialect.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/ResultSetAccess.java
Log Message:
-----------
Introduce callback in dialect to resolve the SqlTypeDescriptor from the Jdbc type code, precision and scale
Commit: 682cbc7d8745b2fb60e32a9c60376fa617ee9e3d
https://github.com/hibernate/hibernate-orm/commit/682cbc7d8745b2fb60e32a9...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/results/ResultSetMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderBasicValuedStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicResultBuilderBasicConverted.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicResultBuilderBasicStandard.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/ResultSetAccess.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/spi/JdbcValuesMetadata.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sql/NativeQueryResultBuilderTests.java
Log Message:
-----------
Simplify type resolving and ignore a test for Oracle
Compare: https://github.com/hibernate/hibernate-orm/compare/e5c239c7c844...682cbc7...
3 years, 9 months
[hibernate/hibernate-orm] e5c239: natural-id caching
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: e5c239c7c844533f99a4b86374edaf01fff16674
https://github.com/hibernate/hibernate-orm/commit/e5c239c7c844533f99a4b86...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/action/internal/AbstractEntityInsertAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityDeleteAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java
M hibernate-core/src/main/java/org/hibernate/boot/BootLogging.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/NaturalIdResolutionsImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/TwoPhaseLoad.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/NaturalIdResolutions.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/CoreLogging.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/DatabaseSnapshotExecutor.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/NaturalIdLogging.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/NaturalIdMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CompoundNaturalIdMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SimpleNaturalIdMapping.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/BasicNaturalIdCachingTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/MappedSuperclassOverrideTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/cache/InheritedNaturalIdCacheTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/CachedMutableNaturalIdTest.java
M hibernate-core/src/test/resources/log4j.properties
Log Message:
-----------
natural-id caching
- on top of Christian's PR #3735 which fixes a problem with pulling entity snapshots from the database which effects natural-id handling and caused test failures here (b4 #3735)
3 years, 9 months
[hibernate/hibernate-search] 91cb8d: HSEARCH-3880 Add query cache and query cache polic...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 91cb8df94afc1d387b0dceede68ffcfdaac114c4
https://github.com/hibernate/hibernate-search/commit/91cb8df94afc1d387b0d...
Author: Waldemar Kłaczyński <wklaczynski(a)sabaservice.pl>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/cache/QueryCachingConfigurationContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/cache/QueryCachingConfigurer.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/cache/impl/LuceneQueryCachingContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/cfg/LuceneBackendSettings.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/logging/impl/Log.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/orchestration/impl/LuceneSyncWorkOrchestratorImpl.java
A integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/cache/LuceneQueryCacheConfigurerIT.java
Log Message:
-----------
HSEARCH-3880 Add query cache and query cache policy definition
Commit: d54cb0b8145fcaf862a45a04a7b7713b213576d6
https://github.com/hibernate/hibernate-search/commit/d54cb0b8145fcaf862a4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/cfg/LuceneBackendSettings.java
Log Message:
-----------
HSEARCH-3880 Fix javadoc of the configuration property for the query caching configurer
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: e4881818163fba91a9d453ba7c2e863ad8a4fb59
https://github.com/hibernate/hibernate-search/commit/e4881818163fba91a9d4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/cfg/LuceneBackendSettings.java
Log Message:
-----------
HSEARCH-3880 Add missing "query." prefix to the configuration property for the query caching configurer
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 83fbb28a481c3e10308a20830570d135164396b0
https://github.com/hibernate/hibernate-search/commit/83fbb28a481c3e10308a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/cache/LuceneQueryCacheConfigurerIT.java
Log Message:
-----------
HSEARCH-3880 Fix formatting in LuceneQueryCacheConfigurerIT
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 1ceb1a25e2d60c370f74a3d1b0ceeaa5f13f957e
https://github.com/hibernate/hibernate-search/commit/1ceb1a25e2d60c370f74...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M integrationtest/backend/lucene/src/test/java/org/hibernate/search/integrationtest/backend/lucene/cache/LuceneQueryCacheConfigurerIT.java
Log Message:
-----------
HSEARCH-3880 Fix typos in LuceneQueryCacheConfigurerIT
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/99aa10e1a5ad...1ceb...
3 years, 9 months
[hibernate/hibernate-search] 0d4aa3: HSEARCH-3884 Copy wildcard to regexp predicates dsl
by Fabio Massimo Ercoli
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 0d4aa34e616c9b15a11cef4bab9c2298832dcbaa
https://github.com/hibernate/hibernate-search/commit/0d4aa34e616c9b15a11c...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
A engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/RegexpPredicateFieldMoreStep.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/RegexpPredicateFieldStep.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/RegexpPredicateMatchingStep.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/RegexpPredicateOptionsStep.java
Log Message:
-----------
HSEARCH-3884 Copy wildcard to regexp predicates dsl
Commit: fc4116e6ad8c37f5722c5928d7aa322aebaad1d5
https://github.com/hibernate/hibernate-search/commit/fc4116e6ad8c37f5722c...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateBuilderFactoryImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/SearchPredicateFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/DefaultSearchPredicateFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/RegexpPredicateFieldMoreStepImpl.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/RegexpPredicateFieldStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/spi/DelegatingSearchPredicateFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/RegexpPredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/SearchPredicateBuilderFactory.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/predicate/impl/StubPredicateBuilder.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/predicate/impl/StubSearchPredicateBuilderFactory.java
Log Message:
-----------
HSEARCH-3884 Create regexp predicate from SearchPredicateFactory
Commit: dad321963adc4418d52a49e523547071eb6f3097
https://github.com/hibernate/hibernate-search/commit/dad321963adc4418d52a...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateBuilderFactoryImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/PredicateTypeKeys.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/impl/ElasticsearchStringIndexFieldTypeOptionsStep.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/predicate/impl/ElasticsearchTextRegexpPredicate.java
Log Message:
-----------
HSEARCH-3884 Support regexp query in ES backend
Commit: 2a6d9b0c5db8ef6b09ccbf429edce2e096024071
https://github.com/hibernate/hibernate-search/commit/2a6d9b0c5db8ef6b09cc...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/PredicateTypeKeys.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/dsl/impl/LuceneStringIndexFieldTypeOptionsStep.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/types/predicate/impl/LuceneTextRegexpPredicate.java
Log Message:
-----------
HSEARCH-3884 Support regexp query in Lucene backend
Commit: ccf4878b8e19635c31e43671bbade3d7e2eae597
https://github.com/hibernate/hibernate-search/commit/ccf4878b8e19635c31e4...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M documentation/src/test/java/org/hibernate/search/documentation/search/predicate/PredicateDslIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/RegexpPredicateBaseIT.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/RegexpPredicateTestValues.java
Log Message:
-----------
HSEARCH-3884 Test regexp predicate
Commit: 4a471e96caeb4bfd252af7f0e5924ec52591fa71
https://github.com/hibernate/hibernate-search/commit/4a471e96caeb4bfd252a...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/RegexpPredicateSpecificsIT.java
Log Message:
-----------
HSEARCH-3884 Test regex specific cases
Commit: 4b3d5c1dc434d417a8d178afd439ece7c6e74406
https://github.com/hibernate/hibernate-search/commit/4b3d5c1dc434d417a8d1...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M documentation/src/main/asciidoc/reference/search-dsl-predicate.asciidoc
Log Message:
-----------
HSEARCH-3884 Document regexp predicate
Commit: 724977ce8b83056c5f4b0bda9dc99b467edaa9dd
https://github.com/hibernate/hibernate-search/commit/724977ce8b83056c5f4b...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/testsupport/util/ElasticsearchTckBackendFeatures.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/RegexpPredicateSpecificsIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
Log Message:
-----------
HSEARCH-3884 Change test of ES regexp which normalizes the pattern
Commit: 56e8297459240882974c7291f9bfde79a73c9aff
https://github.com/hibernate/hibernate-search/commit/56e8297459240882974c...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M documentation/src/main/asciidoc/reference/search-dsl-predicate.asciidoc
Log Message:
-----------
HSEARCH-3884 Adjust the documentation regexp predicate
To reflect the difference in behaviour with the backends
Commit: 99aa10e1a5ad68ca013c083c0077197d54f8e6f8
https://github.com/hibernate/hibernate-search/commit/99aa10e1a5ad68ca013c...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M documentation/src/main/asciidoc/reference/search-dsl-predicate.asciidoc
Log Message:
-----------
HSEARCH-3884 Update search-dsl-predicate.asciidoc
Co-authored-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/1c534c2a7007...99aa...
3 years, 9 months
[hibernate/hibernate-search] 1c534c: HSEARCH-3325 Restore support for native defined se...
by Waldemar Kłaczyński
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 1c534c2a700745442686d4f6261d625003f0a956
https://github.com/hibernate/hibernate-search/commit/1c534c2a700745442686...
Author: Waldemar Kłaczyński <wklaczynski(a)sabaservice.pl>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/AbstractElasticsearchIndexSchemaObjectNodeBuilder.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaNamedPredicateFactoryBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/dsl/impl/ElasticsearchIndexSchemaRootNodeBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexModel.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaNamedPredicateNode.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/document/model/impl/ElasticsearchIndexSchemaNodeCollector.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/scope/model/impl/ElasticsearchScopeSearchIndexesContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/impl/ElasticsearchSearchIndexesContext.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchNamedPredicate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchSearchPredicateBuilderFactoryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/AbstractLuceneIndexSchemaObjectNodeBuilder.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaNamedPredicateFactoryBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/dsl/impl/LuceneIndexSchemaRootNodeBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexModel.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaNamedPredicateNode.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/document/model/impl/LuceneIndexSchemaNodeCollector.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/logging/impl/Log.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/scope/model/impl/LuceneScopeSearchIndexesContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/impl/LuceneSearchIndexesContext.java
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneNamedPredicate.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneSearchPredicateBuilderFactoryImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/IndexSchemaElement.java
A engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/IndexSchemaNamedPredicateOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/impl/IndexSchemaElementImpl.java
M engine/src/main/java/org/hibernate/search/engine/backend/document/model/dsl/spi/IndexSchemaObjectNodeBuilder.java
M engine/src/main/java/org/hibernate/search/engine/logging/impl/Log.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/NamedPredicateOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/SearchPredicateFactory.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/DefaultSearchPredicateFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/impl/NamedPredicateOptionsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/dsl/spi/DelegatingSearchPredicateFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/factories/NamedPredicateFactory.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/factories/NamedPredicateFactoryContext.java
A engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/NamedPredicateBuilder.java
M engine/src/main/java/org/hibernate/search/engine/search/predicate/spi/SearchPredicateBuilderFactory.java
A integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/NamedPredicateBaseIT.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/StubIndexSchemaNode.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/AbstractStubIndexSchemaObjectNodeBuilder.java
A util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/document/model/impl/StubIndexSchemaNamedPredicateBuilder.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/predicate/impl/StubPredicateBuilder.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/predicate/impl/StubSearchPredicateBuilderFactory.java
Log Message:
-----------
HSEARCH-3325 Restore support for native defined search full-text filters with named predicate
3 years, 9 months
[hibernate/hibernate-orm] 5b5254: Fix issues with inverse FK creation and related na...
by Christian Beikov
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 5b5254fbd642e6e6ad3f7df9a72c8737447e94d5
https://github.com/hibernate/hibernate-orm/commit/5b5254fbd642e6e6ad3f7df...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/action/internal/BulkOperationCleanupAction.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/LoaderSqlAstCreationState.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/AttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityAssociationMapping.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/PropertyBasedMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CompoundNaturalIdMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.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/SimpleForeignKeyDescriptor.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SingleAttributeIdentifierMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/MultiTableDeleteQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/MultiTableUpdateQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SimpleDeleteQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SimpleInsertQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SimpleUpdateQueryPlan.java
A hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityDelayedResultImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/CachedMutableNaturalIdNonStrictReadWriteTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/CachedMutableNaturalIdStrictReadWriteTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/CachedMutableNaturalIdTest.java
Log Message:
-----------
Fix issues with inverse FK creation and related natural id issues
Commit: 37b03ecc056d5ca2d461a34f7a288ce9639e8a15
https://github.com/hibernate/hibernate-orm/commit/37b03ecc056d5ca2d461a34...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmCastTarget.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CastTarget.java
Log Message:
-----------
Properly handle parameters and null literals as plain select items
Compare: https://github.com/hibernate/hibernate-orm/compare/0fafae4624cb...37b03ec...
3 years, 9 months
[hibernate/hibernate-orm] 725083: more efficient loading by @NaturalId
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 725083b7677d2e773823f89f060ac96a17fcc91a
https://github.com/hibernate/hibernate-orm/commit/725083b7677d2e773823f89...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-02-24 (Wed, 24 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultResolveNaturalIdEventListener.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UniqueKeyLoadable.java
M hibernate-core/src/test/java/org/hibernate/test/naturalid/inheritance/cache/InheritedNaturalIdNoCacheTest.java
Log Message:
-----------
more efficient loading by @NaturalId
For entities with a single @NaturalId property only.
Uses a unique key EntityLoader instead of two selects.
Commit: e368ac5babec6bec77aa33793fcc212e059e94c1
https://github.com/hibernate/hibernate-orm/commit/e368ac5babec6bec77aa337...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-02-24 (Wed, 24 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultResolveNaturalIdEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/util/collections/ArrayHelper.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/EntityLoader.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UniqueKeyLoadable.java
Log Message:
-----------
more efficient loading by multiple @NaturalIds
Commit: e0ee9f5b0af6c0d09cae602307e3172f10ec11bd
https://github.com/hibernate/hibernate-orm/commit/e0ee9f5b0af6c0d09cae602...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-02-24 (Wed, 24 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/entity/EntityLoader.java
A hibernate-core/src/main/java/org/hibernate/loader/entity/NaturalIdEntityJoinWalker.java
A hibernate-core/src/main/java/org/hibernate/loader/entity/NaturalIdType.java
Log Message:
-----------
make it easy for Hibernate Reactive to reuse the @NaturalId stuff
Commit: 3a24c700fc57cd0427077be4c5c537004cd8ddb6
https://github.com/hibernate/hibernate-orm/commit/3a24c700fc57cd0427077be...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-02-24 (Wed, 24 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
Log Message:
-----------
cache the @NaturalId loaders
and clean up some of the other loader caching code
Commit: 496e5995b2c07853953d05540a8368ec18ac7c02
https://github.com/hibernate/hibernate-orm/commit/496e5995b2c07853953d055...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-02-24 (Wed, 24 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/EntityPersister.java
Log Message:
-----------
deprecate old code for fetching id by natural id
Commit: 0fafae4624cb5bf304b0e388898e950f08c5edb0
https://github.com/hibernate/hibernate-orm/commit/0fafae4624cb5bf304b0e38...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-02-25 (Thu, 25 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/util/collections/ArrayHelper.java
Log Message:
-----------
Merge remote-tracking branch 'upstream/master' into wip/6.0
Compare: https://github.com/hibernate/hibernate-orm/compare/0f92f5388412...0fafae4...
3 years, 9 months