[hibernate/hibernate-orm] 7024b8: HHH-18139 introduce org.hibernate.generator.Assigned
by Gavin King
Branch: refs/heads/wip/7.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 7024b84b9ec1966ffa6da0990c71fefc35422d14
https://github.com/hibernate/hibernate-orm/commit/7024b84b9ec1966ffa6da09...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorBinder.java
M hibernate-core/src/main/java/org/hibernate/event/internal/AbstractSaveEventListener.java
A hibernate-core/src/main/java/org/hibernate/generator/Assigned.java
M hibernate-core/src/main/java/org/hibernate/generator/Generator.java
M hibernate-core/src/main/java/org/hibernate/id/Assigned.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.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
Log Message:
-----------
HHH-18139 introduce org.hibernate.generator.Assigned
rework the Assigned generator, to eliminate instanceof checks
Signed-off-by: Gavin King <gavin(a)hibernate.org>
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months, 3 weeks
[hibernate/hibernate-orm] 74c63b: HHH-18164 Make @IdGeneratorType respect BeanContainer
by Gavin King
Branch: refs/heads/wip/7.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 74c63bead2ab7f2cf91c21179488ea048a1a3a68
https://github.com/hibernate/hibernate-orm/commit/74c63bead2ab7f2cf91c211...
Author: Yanming Zhou <zhouyanming(a)gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/userdefined/IdGeneratorTypeWithBeanContainerTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/userdefined/SimpleBeanContainer.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/userdefined/SimpleGenerator.java
A hibernate-core/src/test/java/org/hibernate/orm/test/idgen/userdefined/SimpleId.java
Log Message:
-----------
HHH-18164 Make @IdGeneratorType respect BeanContainer
Commit: 1d7d1e1c5abae5836210a6bdde3eeca8e9cd82b8
https://github.com/hibernate/hibernate-orm/commit/1d7d1e1c5abae5836210a6b...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/resource/beans/internal/Helper.java
Log Message:
-----------
extract two methods / code style
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 3c8f9b5c39196ff8ab96114ab589630b43ab039e
https://github.com/hibernate/hibernate-orm/commit/3c8f9b5c39196ff8ab96114...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java
Log Message:
-----------
fix punctuation in error message
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 4205294f35e9eb3382ea4ee0206bea7e1b95fcce
https://github.com/hibernate/hibernate-orm/commit/4205294f35e9eb3382ea4ee...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EmbeddableBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultPersistEventListener.java
M hibernate-core/src/main/java/org/hibernate/generator/CustomIdGeneratorCreationContext.java
M hibernate-core/src/main/java/org/hibernate/generator/Generator.java
M hibernate-core/src/main/java/org/hibernate/generator/GeneratorCreationContext.java
M hibernate-core/src/main/java/org/hibernate/id/Assigned.java
M hibernate-core/src/main/java/org/hibernate/id/ForeignGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/IdentifierGeneratorHelper.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/mapping/Property.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/HibernateOrmSpecificAttributesMappingTest.java
Log Message:
-----------
HHH-18139 further integrate legacy identifier generates with new infrastructure
- recover ability to use BeanContainer
- simplify logic by making full use of Generator.allowAssignedIdentifiers()
- various simplifications
- deprecate CustomIdGeneratorCreationContext (which was incubating)
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-orm/compare/92563759c46b...4205294...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months, 3 weeks
[hibernate/hibernate-search] 035817: HSEARCH-5010 Upgrade to Lucene 10.0-SNAPSHOT
by Marko Bekhta
Branch: refs/heads/wip/main/dependency-update/lucene10
Home: https://github.com/hibernate/hibernate-search
Commit: 035817c1e8495234dae97d89ae1713a321e5987c
https://github.com/hibernate/hibernate-search/commit/035817c1e8495234dae9...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M build/parents/build/pom.xml
M util/internal/integrationtest/backend/lucene/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/lucene/directory/TrackingDirectory.java
Log Message:
-----------
HSEARCH-5010 Upgrade to Lucene 10.0-SNAPSHOT
Commit: 9969d173832fe51df76a311cbb07688e266e3f34
https://github.com/hibernate/hibernate-search/commit/9969d173832fe51df76a...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M Jenkinsfile
M ci/release/Jenkinsfile
M pom.xml
Log Message:
-----------
HSEARCH-**** TODO: JDK 21 as a baseline
since Lucene has bumped it to 21: https://github.com/apache/lucene/pull/12753
Commit: e8b2649afeb8012dfd238a9db22659f5248fb2ef
https://github.com/hibernate/hibernate-search/commit/e8b2649afeb8012dfd23...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/facet/impl/TextMultiValueFacetCounts.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneCommonMinimumShouldMatchConstraints.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/predicate/impl/LuceneCommonQueryStringPredicate.java
M v5migrationhelper/engine/src/main/java/org/hibernate/search/query/dsl/impl/BooleanQueryBuilder.java
Log Message:
-----------
HSEARCH-5010 Use a custom priority queue in text facet counts
Commit: df3e9dbd6941d28d693270695379b3ca439317fe
https://github.com/hibernate/hibernate-search/commit/df3e9dbd6941d28d6932...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
A backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/ConstantScorerSupplier.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/ExplicitDocIdsQuery.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/MappedTypeNameQuery.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/lowlevel/query/impl/VectorSimilarityFilterQuery.java
M util/internal/integrationtest/backend/lucene/src/main/java/org/hibernate/search/util/impl/integrationtest/backend/lucene/query/SlowQuery.java
Log Message:
-----------
HSEARCH-5010 Use scorer suppliers in custom weights
Commit: c58d00fbda86f5f7bfff94ef86461bdac411c2a8
https://github.com/hibernate/hibernate-search/commit/c58d00fbda86f5f7bfff...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-05-27 (Mon, 27 May 2024)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneAbstractSearchHighlighter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneFastVectorSearchHighlighter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LucenePlainSearchHighlighter.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/highlighter/impl/LuceneUnifiedSearchHighlighter.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/HighlighterBoundaryScannerFastVectorHighlighterOptionsStep.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/dsl/impl/HighlighterFastVectorHighlighterOptionsStepImpl.java
M engine/src/main/java/org/hibernate/search/engine/search/highlighter/spi/SearchHighlighterBuilder.java
M integrationtest/backend/tck/src/main/java/org/hibernate/search/integrationtest/backend/tck/search/highlight/HighlighterFastVectorIT.java
Log Message:
-----------
HSEARCH-5010 Use char array for highlighters
Compare: https://github.com/hibernate/hibernate-search/compare/d112fc2be4ae...c58d...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-search/settings/notifications
3 months, 3 weeks