[hibernate/hibernate-orm] 74f018: HHH-17587 Add test for issue
by Andrea Boriero
Branch: refs/heads/6.4
Home: https://github.com/hibernate/hibernate-orm
Commit: 74f018182e69afc05900ddbc82a6983886f0366b
https://github.com/hibernate/hibernate-orm/commit/74f018182e69afc05900ddb...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2024-01-30 (Tue, 30 Jan 2024)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/secondarytable/SecondaryTableDynamicUpateTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/secondarytables/SecondaryTableDynamicUpateTest.java
Log Message:
-----------
HHH-17587 Add test for issue
Commit: 3844a34760dfc33ff70e69928491e6d08cddc297
https://github.com/hibernate/hibernate-orm/commit/3844a34760dfc33ff70e699...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2024-01-30 (Tue, 30 Jan 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/mutation/EntityTableMapping.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/mutation/UpdateCoordinatorStandard.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/mutation/UpdateValuesAnalysis.java
M hibernate-core/src/main/java/org/hibernate/sql/model/TableMapping.java
M hibernate-core/src/main/java/org/hibernate/sql/model/internal/OptionalTableUpdate.java
M hibernate-core/src/main/java/org/hibernate/sql/model/jdbc/OptionalTableUpdateOperation.java
Log Message:
-----------
HHH-17587 Setting to null a property from a @SecondaryTable and @DynamicUpdate deletes the whole entry from database
Compare: https://github.com/hibernate/hibernate-orm/compare/c9805f21ff29...3844a34...
9 months, 3 weeks
[hibernate/hibernate-orm] c9805f: HHH-17683 Reproducer for jpamodelgen generating wr...
by Yoann Rodière
Branch: refs/heads/6.4
Home: https://github.com/hibernate/hibernate-orm
Commit: c9805f21ff2986439820f84688d917ee89361bfc
https://github.com/hibernate/hibernate-orm/commit/c9805f21ff2986439820f84...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-01-30 (Tue, 30 Jan 2024)
Changed paths:
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingEntityWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingEntityWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingNonEntityWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingNonEntityWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/NonEntityWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/NonEntityWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/SuperClassWithGetEntityManagerTest.java
M tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/TestUtil.java
Log Message:
-----------
HHH-17683 Reproducer for jpamodelgen generating wrong constructor for metamodel of entities whose methods contain a `static EntityManager getEntityManager()`
9 months, 3 weeks
[hibernate/hibernate-orm] 663e5c: HHH-17587 Add test for issue
by Andrea Boriero
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 663e5c0206407ea85a59db214b686feeefb35acb
https://github.com/hibernate/hibernate-orm/commit/663e5c0206407ea85a59db2...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2024-01-30 (Tue, 30 Jan 2024)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/secondarytable/SecondaryTableDynamicUpateTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/secondarytables/SecondaryTableDynamicUpateTest.java
Log Message:
-----------
HHH-17587 Add test for issue
Commit: 225740bce5036ba654e5049e982b7ddbdb23cd3c
https://github.com/hibernate/hibernate-orm/commit/225740bce5036ba654e5049...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2024-01-30 (Tue, 30 Jan 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/mutation/EntityTableMapping.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/mutation/InsertCoordinatorStandard.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/mutation/UpdateCoordinatorStandard.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/mutation/UpdateValuesAnalysis.java
M hibernate-core/src/main/java/org/hibernate/sql/model/TableMapping.java
M hibernate-core/src/main/java/org/hibernate/sql/model/internal/OptionalTableUpdate.java
M hibernate-core/src/main/java/org/hibernate/sql/model/jdbc/OptionalTableUpdateOperation.java
Log Message:
-----------
HHH-17587 Setting to null a property from a @SecondaryTable and @DynamicUpdate deletes the whole entry from database
Compare: https://github.com/hibernate/hibernate-orm/compare/1ac21756c652...225740b...
9 months, 3 weeks
[hibernate/hibernate-orm] 1ac217: HHH-17683 Reproducer for jpamodelgen generating wr...
by Yoann Rodière
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 1ac21756c6525c781eb59bd374fe349b4d13214c
https://github.com/hibernate/hibernate-orm/commit/1ac21756c6525c781eb59bd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-01-30 (Tue, 30 Jan 2024)
Changed paths:
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingEntityWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingEntityWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingMapperSuperClassWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingNonEntityWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityExtendingNonEntityWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/EntityWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassExtendingNonEntityWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassExtendingNonEntityWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/MapperSuperClassWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/NonEntityWithInstanceGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/NonEntityWithStaticGetEntityManager.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/constructor/SuperClassWithGetEntityManagerTest.java
M tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/TestUtil.java
Log Message:
-----------
HHH-17683 Reproducer for jpamodelgen generating wrong constructor for metamodel of entities whose methods contain a `static EntityManager getEntityManager()`
9 months, 3 weeks
[hibernate/hibernate-search] dd8536: HSEARCH-5064 Integrate Elasticsearch's knn query i...
by Marko Bekhta
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-search
Commit: dd8536cb018f5c3f315c33c1a8d944a303003719
https://github.com/hibernate/hibernate-search/commit/dd8536cb018f5c3f315c...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-01-30 (Tue, 30 Jan 2024)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/dialect/impl/ElasticsearchDialectFactory.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/dialect/model/impl/Elasticsearch812ModelDialect.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/dialect/model/impl/Elasticsearch8ModelDialect.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchKnnPredicate.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/provider/impl/Elasticsearch812IndexFieldTypeFactoryProvider.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/provider/impl/Elasticsearch8IndexFieldTypeFactoryProvider.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/mapping/impl/Elasticsearch812VectorFieldTypeMappingContributor.java
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/dialect/impl/ElasticsearchDialectFactoryTest.java
M documentation/src/main/asciidoc/public/reference/_search-dsl-predicate.adoc
M documentation/src/test/java/org/hibernate/search/documentation/search/predicate/PredicateDslIT.java
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/KnnPredicateSpecificsIT.java
Log Message:
-----------
HSEARCH-5064 Integrate Elasticsearch's knn query introduced in 8.12
Commit: 686421eb0c921d2ea134340fbda0db4baf08bc10
https://github.com/hibernate/hibernate-search/commit/686421eb0c921d2ea134...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-01-30 (Tue, 30 Jan 2024)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/dialect/model/impl/Elasticsearch812ModelDialect.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/dialect/model/impl/Elasticsearch8ModelDialect.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/predicate/impl/ElasticsearchBooleanPredicate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/ElasticsearchKnnPredicate.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/PredicateNestingContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/predicate/impl/PredicateRequestContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryBuilder.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/dsl/provider/impl/Elasticsearch8IndexFieldTypeFactoryProvider.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/mapping/impl/Elasticsearch812VectorFieldTypeMappingContributor.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/types/mapping/impl/Elasticsearch8VectorFieldTypeMappingContributor.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/Elasticsearch812PropertyMappingValidatorProvider.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/Elasticsearch8PropertyMappingValidatorProvider.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/validation/impl/PropertyMappingValidator.java
M documentation/src/main/asciidoc/public/reference/_backend-elasticsearch.adoc
M documentation/src/main/asciidoc/public/reference/_search-dsl-predicate.adoc
M documentation/src/test/java/org/hibernate/search/documentation/search/predicate/PredicateDslIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/search/ElasticsearchKnnPredicateMultipleShardsIT.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/search/ElasticsearchKnnPredicateSpecificsIT.java
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/KnnPredicateBaseIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/predicate/KnnPredicateSpecificsIT.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/testsupport/util/TckBackendFeatures.java
Log Message:
-----------
HSEARCH-5064 Remove knn integration for Elasticsearch < 8.12
Compare: https://github.com/hibernate/hibernate-search/compare/d7300cdb630d...6864...
9 months, 3 weeks