[hibernate/hibernate-search] 626d5e: HSEARCH-4188 Fix a few raw types
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 626d5e560b9f14e96e846de868e3c544a86c77ae
https://github.com/hibernate/hibernate-search/commit/626d5e560b9f14e96e84...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBasicDynamicMapPropertyMetadata.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBasicTypeMetadataProvider.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmDynamicMapPropertyModel.java
Log Message:
-----------
HSEARCH-4188 Fix a few raw types
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: a7798c2d09dc106182ca85dcbeaecc7dae25802d
https://github.com/hibernate/hibernate-search/commit/a7798c2d09dc106182ca...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/DocumentIdBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/FieldBaseIT.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/spi/GenericContextAwarePojoGenericTypeModel.java
M util/common/src/main/java/org/hibernate/search/util/common/reflect/impl/GenericTypeContext.java
M util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/GenericTypeContextTest.java
M util/common/src/test/java/org/hibernate/search/util/common/testsupport/GenericTypeContextAssert.java
Log Message:
-----------
HSEARCH-4188 Expose only the necessary data fom GenericTypeContext
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: bd0fc623ebff1fa8a669e777569f339ca908660d
https://github.com/hibernate/hibernate-search/commit/bd0fc623ebff1fa8a669...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M util/common/src/main/java/org/hibernate/search/util/common/reflect/impl/GenericTypeContext.java
A util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/CustomBoundedGenericType.java
M util/common/src/test/java/org/hibernate/search/util/common/reflect/impl/GenericTypeContextTest.java
M util/common/src/test/java/org/hibernate/search/util/common/testsupport/GenericTypeContextAssert.java
Log Message:
-----------
HSEARCH-4188 Allow casts in GenericTypeContext
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 457f524428de1ee597dff3bbc1859996d5a7d3bd
https://github.com/hibernate/hibernate-search/commit/457f524428de1ee597df...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmDynamicMapRawTypeModel.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoImplicitReindexingResolverCastedTypeNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoImplicitReindexingResolverValueNodeBuilderDelegate.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/building/impl/PojoIndexingDependencyCollectorValueNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/automaticindexing/impl/PojoImplicitReindexingResolverCastedTypeNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/AbstractPojoHCAnnRawTypeModel.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/path/impl/BoundPojoModelPathCastedTypeNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/path/impl/BoundPojoModelPathValueNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/spi/GenericContextAwarePojoGenericTypeModel.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/spi/PojoGenericTypeModel.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/spi/PojoRawTypeModel.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/spi/SyntheticPojoGenericTypeModel.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorCastedTypeNodeBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/building/impl/PojoIndexingProcessorValueNodeBuilderDelegate.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/processing/impl/PojoIndexingProcessorCastedTypeNode.java
Log Message:
-----------
HSEARCH-4188 Preserve generic type arguments when casting type models during the mapping phase
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: cba262bfd067ba60995b1746c2da8a678fa0652d
https://github.com/hibernate/hibernate-search/commit/cba262bfd067ba60995b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedEmbeddedBaseIT.java
Log Message:
-----------
HSEARCH-4188 Test that generic type arguments are preserved when casting type models during the mapping phase
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/66c09c3829bd...cba2...
3 years, 9 months
[hibernate/hibernate-orm] 87a40f: Set strategySelector before reflectionOptimizer is...
by Chris Cranford
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 87a40f6c2f9155172ba87972db2676114a685e75
https://github.com/hibernate/hibernate-orm/commit/87a40f6c2f9155172ba8797...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/StandardPojoEntityRepresentationStrategy.java
Log Message:
-----------
Set strategySelector before reflectionOptimizer is resolved
Commit: 2cf8131f6e989d98bf33f34a35b0bdd431160378
https://github.com/hibernate/hibernate-orm/commit/2cf8131f6e989d98bf33f34...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/query/AbstractRelationQueryGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/query/OneAuditEntityQueryGenerator.java
Log Message:
-----------
Fix JdbcParameterBinding with RevisionType enum
Commit: 4292d118ad8ab4d5be42aacedadcd4d95749cab7
https://github.com/hibernate/hibernate-orm/commit/4292d118ad8ab4d5be42aac...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
Log Message:
-----------
Enforce dialect's default timestamp precision
Commit: 71f633a8f7970ca357c8518846774f948ea525e6
https://github.com/hibernate/hibernate-orm/commit/71f633a8f7970ca357c8518...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/collection/internal/StandardSortedMapSemantics.java
M hibernate-core/src/main/java/org/hibernate/collection/internal/StandardSortedSetSemantics.java
Log Message:
-----------
Set comparator on Persistent SortedSet and SortedMap collection instances
Commit: 44719e9bb22cae8847f0720b66477d24337948ff
https://github.com/hibernate/hibernate-orm/commit/44719e9bb22cae8847f0720...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/DelayedCollectionInitializer.java
Log Message:
-----------
Avoid NPE when resolving collection key for delayed collections
Commit: 5cf052775bfb2542f0729356d18d05148e905543
https://github.com/hibernate/hibernate-orm/commit/5cf052775bfb2542f072935...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/converter/AttributeConverterSqlTypeDescriptorAdapter.java
Log Message:
-----------
Remove UnsupportedOperationException in ctor
Commit: c2569bde4c16d7d2e11039c3890bd61453cabf4e
https://github.com/hibernate/hibernate-orm/commit/c2569bde4c16d7d2e11039c...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentSortedMap.java
M hibernate-core/src/main/java/org/hibernate/collection/internal/PersistentSortedSet.java
M hibernate-core/src/main/java/org/hibernate/collection/internal/StandardSortedMapSemantics.java
M hibernate-core/src/main/java/org/hibernate/collection/internal/StandardSortedSetSemantics.java
M hibernate-core/src/main/java/org/hibernate/type/SortedMapType.java
M hibernate-core/src/main/java/org/hibernate/type/SortedSetType.java
Log Message:
-----------
Pass sorted collection comparator as ctor argument
Commit: 79a0c325e915b71eb49bd53e192fce799222e56e
https://github.com/hibernate/hibernate-orm/commit/79a0c325e915b71eb49bd53...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/DelayedCollectionInitializer.java
Log Message:
-----------
Move null check into lambda for DelayedCollectionInitializer
Commit: fd73a1af85ae2a7dd3e8b3c53f2fc25b1f7779ac
https://github.com/hibernate/hibernate-orm/commit/fd73a1af85ae2a7dd3e8b3c...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
Log Message:
-----------
Use dialect default precision for additional types
Commit: 5dfbaf58efd4879bf0d5d36fd523a8162baa25dd
https://github.com/hibernate/hibernate-orm/commit/5dfbaf58efd4879bf0d5d36...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/query/AbstractRelationQueryGenerator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/tools/query/QueryBuilder.java
Log Message:
-----------
Lookup RevisionTypeType rather than re-create CustomType instances
Compare: https://github.com/hibernate/hibernate-orm/compare/06d2a0c23ec9...5dfbaf5...
3 years, 9 months
[hibernate/hibernate-orm] 06d2a0: Use FK descriptor instead of target entity identifier
by Christian Beikov
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 06d2a0c23ec95ab6078d81abc674886a47fbf98e
https://github.com/hibernate/hibernate-orm/commit/06d2a0c23ec95ab6078d81a...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/AbstractCompositeIdentifierMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ForeignKeyDescriptor.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/EmbeddedForeignKeyDescriptor.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/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmUtil.java
Log Message:
-----------
Use FK descriptor instead of target entity identifier
3 years, 9 months