[hibernate/hibernate-orm] 70baa0: More natural-id work
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 70baa0b65938d04cf509475489b942b19f43c1f4
https://github.com/hibernate/hibernate-orm/commit/70baa0b65938d04cf509475...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-01-28 (Thu, 28 Jan 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/engine/internal/AbstractEntityEntry.java
A hibernate-core/src/main/java/org/hibernate/engine/internal/NaturalIdResolutionsImpl.java
R hibernate-core/src/main/java/org/hibernate/engine/internal/NaturalIdXrefDelegate.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/TwoPhaseLoad.java
A hibernate-core/src/main/java/org/hibernate/engine/spi/NaturalIdResolutions.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PersistenceContext.java
A hibernate-core/src/main/java/org/hibernate/engine/spi/Resolution.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultEvictEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultResolveNaturalIdEventListener.java
M hibernate-core/src/main/java/org/hibernate/loader/access/BaseNaturalIdLoadAccessImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableMappingType.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/persister/entity/EntityPersister.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
Log Message:
-----------
More natural-id work
- preliminary work for natural-id caching support
- re-worked the previous NaturalIdHelper, NaturalIdXRefDelegate, etc
- minor fixes/improvements to previous commit
3 years, 11 months
[hibernate/hibernate-search] 675710: HSEARCH-4117 Remove obsolete comments
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 6757107c213235534901ed3748d40f282cc99df2
https://github.com/hibernate/hibernate-search/commit/6757107c213235534901...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-28 (Thu, 28 Jan 2021)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/AbstractPojoHCAnnBootstrapIntrospector.java
Log Message:
-----------
HSEARCH-4117 Remove obsolete comments
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: abf2c4f5c66b8d25f1f2d89be99d0533262c4b13
https://github.com/hibernate/hibernate-search/commit/abf2c4f5c66b8d25f1f2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-28 (Thu, 28 Jan 2021)
Changed paths:
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/model/impl/JavaBeanPropertyModel.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/model/impl/JavaBeanRawTypeModel.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmClassPropertyModel.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmClassRawTypeModel.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/AbstractPojoHCAnnBootstrapIntrospector.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/AbstractPojoHCAnnPropertyModel.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/AbstractPojoHCAnnRawTypeModel.java
Log Message:
-----------
HSEARCH-4117 Pick one getter when property has multiple getters
... and log a warning.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 2ac0358d3fcf155d67e1df918b0417387cbc6444
https://github.com/hibernate/hibernate-search/commit/2ac0358d3fcf155d67e1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-28 (Thu, 28 Jan 2021)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/spi/ErrorCollectingPojoPropertyMetadataContributor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/InitialPropertyMappingStep.java
Log Message:
-----------
HSEARCH-4117 Avoid looking up property metadata for empty property mappings
So that we don't log a warning for ambiguous metadata such as a property
with multiple getters, unless we actually use that property.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 827e806da35a08f8eae793c71848a1043f9a3883
https://github.com/hibernate/hibernate-search/commit/827e806da35a08f8eae7...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-28 (Thu, 28 Jan 2021)
Changed paths:
A integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/model/DuplicateGetterIT.java
Log Message:
-----------
HSEARCH-4117 Test models with multiple getters for the same property
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/729843f082ec...827e...
3 years, 11 months
[hibernate/hibernate-search] b4bd86: HSEARCH-4144 Refactor ORM entity loading classes a...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: b4bd86046c09d5b78861268958e1cb26cc2c2dad
https://github.com/hibernate/hibernate-search/commit/b4bd86046c09d5b78861...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-28 (Thu, 28 Jan 2021)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/EntityLoadingCacheLookupStrategyImplementor.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/EntityLoadingStrategy.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmEntityIdEntityLoader.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmEntityIdEntityLoadingStrategy.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoader.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoadingStrategy.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmQueryUtils.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/PersistenceContextLookupStrategy.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/PersistenceContextThenSecondLevelCacheLookupStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmIndexedTypeContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/scope/impl/HibernateOrmScopeIndexedTypeContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/scope/impl/HibernateOrmScopeMappingContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/scope/impl/HibernateOrmScopeSessionContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/context/impl/HibernateOrmLoadingContext.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/EntityLoaderBuilder.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/EntityLoaderFactory.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/EntityLoadingCacheLookupStrategyImplementor.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmByTypeEntityLoader.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmComposableEntityLoader.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmComposableSearchEntityLoader.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmLoadingIndexedTypeContext.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmLoadingMappingContext.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmLoadingSessionContext.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/MutableEntityLoadingOptions.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/PersistenceContextLookupStrategy.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/PersistenceContextThenSecondLevelCacheLookupStrategy.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/SearchEntityLoaderBuilder.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/SearchEntityLoadingStrategy.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/SearchLoadingIndexedTypeContext.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/SearchLoadingMappingContext.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/SearchLoadingSessionContext.java
Log Message:
-----------
HSEARCH-4144 Refactor ORM entity loading classes and move them to a dedicated package
So that we can start using them for something else than just searching.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: b2e5f7b80720c441c86030caa0e0e3d4dd09d055
https://github.com/hibernate/hibernate-search/commit/b2e5f7b80720c441c860...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-28 (Thu, 28 Jan 2021)
Changed paths:
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/CriteriaTypeQueryFactory.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmEntityIdEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmEntityIdEntityLoadingStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoadingStrategy.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmQueryUtils.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HqlTypeQueryFactory.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/TypeQueryFactory.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmIndexedTypeContext.java
Log Message:
-----------
HSEARCH-3771 Introduce TypeQueryFactory to represent two different ways of creating queries
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 4042632702984849d6a9880be93e664b248b9aca
https://github.com/hibernate/hibernate-search/commit/4042632702984849d6a9...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-28 (Thu, 28 Jan 2021)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/dynamicmap/DynamicMapBaseIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/CriteriaTypeQueryFactory.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/EntityLoadingStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmEntityIdEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmEntityIdEntityLoadingStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoader.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoadingStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HqlTypeQueryFactory.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/MassIndexingTypeGroupLoaderImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/TypeQueryFactory.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/AbstractHibernateOrmTypeContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmIndexedTypeContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchCoordinator.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/BatchIndexingWorkspace.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/HibernateOrmMassIndexingIndexedTypeContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/IdentifierConsumerDocumentProducer.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/IdentifierProducer.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/MassIndexerImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/MassIndexingIndexedTypeGroup.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/MassIndexingNotifier.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/MassIndexingTypeGroupLoader.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/massindexing/impl/MassIndexingTypeLoadingStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/scope/impl/HibernateOrmScopeIndexedTypeContext.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/SearchLoadingIndexedTypeContext.java
Log Message:
-----------
HSEARCH-3771 Rely on EntityLoadingStrategy for querying in the mass indexer
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: e848c52d9e65d4278618864bc7a931062c702da9
https://github.com/hibernate/hibernate-search/commit/e848c52d9e65d4278618...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-28 (Thu, 28 Jan 2021)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/dynamicmap/DynamicMapBaseIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HqlTypeQueryFactory.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
Log Message:
-----------
HSEARCH-3771 Mass indexing for ORM's dynamic-map entity types
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 5d0c5a2e5dd639dbdd33b1383828af16431fb34b
https://github.com/hibernate/hibernate-search/commit/5d0c5a2e5dd639dbdd33...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-28 (Thu, 28 Jan 2021)
Changed paths:
M documentation/src/main/asciidoc/reference/mapper-orm-mapping-programmatic.asciidoc
Log Message:
-----------
HSEARCH-3771 Update documentation regarding support for ORM's dynamic-map entity types
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 729843f082ecb6293c8f50ddf56cddc0903a169a
https://github.com/hibernate/hibernate-search/commit/729843f082ecb6293c8f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2021-01-28 (Thu, 28 Jan 2021)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmEntityIdEntityLoadingStrategy.java
Log Message:
-----------
HSEARCH-3771 Sonar: Avoid an NPE if there's a bug in loading strategy handling
This NPE really shouldn't happen if everything else works correctly, but
let's be on the safe side.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/27f3a0791bd9...7298...
3 years, 11 months
[hibernate/hibernate-orm] 9849ea: - HHH-14409 : Internal format of natural-id values
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 9849ea5a1faae00ae94fc46450676c545013c63a
https://github.com/hibernate/hibernate-orm/commit/9849ea5a1faae00ae94fc46...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-01-27 (Wed, 27 Jan 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Session.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/EntityHierarchySourceImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/internal/NaturalIdMultiLoadAccessStandard.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
A hibernate-core/src/main/java/org/hibernate/loader/LoaderLogging.java
A hibernate-core/src/main/java/org/hibernate/loader/access/BaseNaturalIdLoadAccessImpl.java
A hibernate-core/src/main/java/org/hibernate/loader/access/IdentifierLoadAccessImpl.java
A hibernate-core/src/main/java/org/hibernate/loader/access/LoadAccessContext.java
A hibernate-core/src/main/java/org/hibernate/loader/access/NaturalIdLoadAccessImpl.java
A hibernate-core/src/main/java/org/hibernate/loader/access/SimpleNaturalIdLoadAccessImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/AbstractNaturalIdLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/CompoundNaturalIdLoader.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/LoaderSelectBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/MultiNaturalIdLoaderStandard.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/MultiNaturalIdLoadingBatcher.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/SimpleNaturalIdLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/spi/Loadable.java
A hibernate-core/src/main/java/org/hibernate/loader/ast/spi/NaturalIdLoadOptions.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/spi/NaturalIdLoader.java
M hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/AttributeFactory.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataContext.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/Bindable.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableMappingType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityMappingType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ModelPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/NaturalIdMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractNaturalIdMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AnyDiscriminatorPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AnyKeyPart.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/BasicValuedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicValuedSingularAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CollectionIdentifierDescriptorImpl.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/DiscriminatedAssociationAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/DiscriminatedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedCollectionPart.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/EmbeddedIdentifierMappingImpl.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/EntityDiscriminatorMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityRowIdMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityVersionMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/JoinedSubclassDiscriminatorMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/NonAggregatedIdentifierMappingImpl.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/SimpleNaturalIdMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EmbeddableTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/EntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderEntityJpa.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderEntityStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitModelPartResultBuilderEntity.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/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/expression/NullnessLiteral.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/RootTableGroupProducer.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/predicate/NullnessPredicate.java
M hibernate-core/src/main/java/org/hibernate/sql/results/internal/domain/CircularBiDirectionalFetchImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/internal/domain/CircularFetchImpl.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/binding/hbm/cid/nonaggregated/dynamic/DynamicCompositeIdBasicBindingTests.java
R hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/binding/hbm/cid/nonaggregated/dynamic/DynamicCompositeIdBasicTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/binding/hbm/cid/nonaggregated/dynamic/DynamicCompositeIdBasicUsageTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/binding/hbm/cid/nonaggregated/dynamic/DynamicCompositeIdManyToOneBindingTests.java
R hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/binding/hbm/cid/nonaggregated/dynamic/DynamicCompositeIdManyToOneTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/binding/hbm/cid/nonaggregated/dynamic/DynamicCompositeIdManyToOneUsageTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/cid/AbstractCompositeIdAndNaturalIdTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/cid/Account.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/cid/Account.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/cid/AccountId.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/cid/AnnotatedCompositeIdAndNaturalIdTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/cid/HbmCompositeIdAndNaturalIdTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/composite/CompositeNaturalIdMappingTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/composite/EmbeddedNaturalIdTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/composite/PostalCarrier.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/composite/PostalCode.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/compound/CompoundNaturalIdMappingTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/compound/Country.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/compound/PostalCarrier.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/immutable/Child.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/immutable/IdentityGeneratorWithNaturalIdCacheTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/immutable/ImmutableManyToOneNaturalIdAnnotationTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/immutable/ImmutableManyToOneNaturalIdHbmTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/immutable/ImmutableNaturalIdTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/immutable/Parent.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/immutable/ParentChildWithManyToOne.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/immutable/User.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/immutable/User.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/immutableentity/Building.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/immutableentity/ImmutableEntityNaturalIdTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/InheritedNaturalIdTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/MappedSuperclassOverrideTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/Principal.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/User.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/cache/ExtendedEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/cache/InheritedNaturalIdCacheTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/cache/InheritedNaturalIdNoCacheTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/cache/MyEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/spread/Principal.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/spread/SpreadNaturalIdTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/spread/User.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/lazy/NaturalIdInUninitializedAssociationTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/lazy/NaturalIdInUninitializedProxyTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/MutableNaturalIdTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/User.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/User.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/A.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/AllCached.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/Another.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/B.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/CachedMutableNaturalIdNonStrictReadWriteTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/CachedMutableNaturalIdStrictReadWriteTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/CachedMutableNaturalIdTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/SubClass.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/nullable/A.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/nullable/B.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/nullable/C.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/nullable/D.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/nullable/NullableNaturalIdTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/nullable/User.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/nullable/User.java
M hibernate-core/src/test/java/org/hibernate/orm/test/metamodel/mapping/naturalid/CompoundNaturalIdTests.java
M hibernate-core/src/test/java/org/hibernate/test/extralazy/ExtraLazyTest.java
M hibernate-core/src/test/java/org/hibernate/test/jpa/naturalid/ImmutableNaturalIdTest.java
M hibernate-core/src/test/java/org/hibernate/test/jpa/naturalid/User.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/cid/Account.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/naturalid/cid/Account.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/cid/AccountId.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/cid/CompositeIdAndNaturalIdTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/composite/CompositeNaturalIdMappingTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/composite/EmbeddedNaturalIdTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/composite/PostalCarrier.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/composite/PostalCode.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/Child.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/IdentifierGeneratorWithNaturalIdCacheTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/ImmutableEntityNaturalIdTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/ImmutableNaturalIdTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/Parent.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/ParentChildWithManyToOne.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/User.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/naturalid/immutable/User.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/immutableentity/Building.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/immutableentity/ImmutableEntityNaturalIdTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/inheritance/InheritedNaturalIdTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/inheritance/MappedSuperclassOverrideTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/inheritance/Principal.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/inheritance/User.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/inheritance/cache/ExtendedEntity.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/inheritance/cache/InheritedNaturalIdCacheTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/inheritance/cache/InheritedNaturalIdNoCacheTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/inheritance/cache/MyEntity.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/inheritance/spread/Principal.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/inheritance/spread/SpreadNaturalIdTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/inheritance/spread/User.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/lazy/NaturalIdInUninitializedAssociationTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/lazy/NaturalIdInUninitializedProxyTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/MutableNaturalIdTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/User.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/User.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/A.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/AllCached.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/Another.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/B.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/CachedMutableNaturalIdNonStrictReadWriteTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/CachedMutableNaturalIdStrictReadWriteTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/CachedMutableNaturalIdTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/SubClass.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/nullable/A.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/nullable/B.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/nullable/C.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/nullable/D.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/nullable/NullableNaturalIdTest.java
R hibernate-core/src/test/java/org/hibernate/test/naturalid/nullable/User.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/naturalid/nullable/User.java
M hibernate-testing/src/main/java/org/hibernate/testing/cache/CachingRegionFactory.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/FailureExpectedExtension.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/NotImplementedYet.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/NotImplementedYetExtension.java
Log Message:
-----------
- HHH-14409 : Internal format of natural-id values
- org.hibernate.loader.access
- `ModelPart.breakDownJdbcValues`
- build/keep natural-id loaders per entity (inheritance)
- changes to NotImplementedYetExtension
- tests
3 years, 11 months
[hibernate/hibernate-orm] 7e3453: Fix initializer post load call timing
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 7e34535cfeec7489d76ec7fc7c22efa00ad437f8
https://github.com/hibernate/hibernate-orm/commit/7e34535cfeec7489d76ec7f...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-01-27 (Wed, 27 Jan 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/internal/StandardRowReader.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesSourceProcessingStateStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/spi/ListResultsConsumer.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/collection/Child.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/collection/Parent.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/collection/PostLoadTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/collection/Child.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/collection/Parent.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/collection/PostLoadTest.java
Log Message:
-----------
Fix initializer post load call timing
3 years, 11 months