[hibernate/hibernate-orm] 329cca: HHH-15791 Avoid excessive Session casts to EventSo...
by Sanne Grinovero
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 329ccaa7a1469926a66df5ecd891ec1f62108d25
https://github.com/hibernate/hibernate-orm/commit/329ccaa7a1469926a66df5e...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2022-12-02 (Fri, 02 Dec 2022)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/HSQLLegacyDialect.java
M hibernate-core/src/main/java/org/hibernate/action/internal/AbstractEntityInsertAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/BulkOperationCleanupAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/CollectionAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/CollectionRecreateAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/CollectionRemoveAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/CollectionUpdateAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityDeleteAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityIdentityInsertAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityInsertAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/OrphanRemovalAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/QueuedOperationCollectionAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/UnresolvedEntityInsertActions.java
M hibernate-core/src/main/java/org/hibernate/action/spi/Executable.java
M hibernate-core/src/main/java/org/hibernate/cache/internal/CollectionCacheInvalidator.java
M hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/lock/LockingStrategy.java
M hibernate-core/src/main/java/org/hibernate/dialect/lock/OptimisticForceIncrementLockingStrategy.java
M hibernate-core/src/main/java/org/hibernate/dialect/lock/OptimisticLockingStrategy.java
M hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticForceIncrementLockingStrategy.java
M hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticReadSelectLockingStrategy.java
M hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticReadUpdateLockingStrategy.java
M hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticWriteSelectLockingStrategy.java
M hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticWriteUpdateLockingStrategy.java
M hibernate-core/src/main/java/org/hibernate/dialect/lock/SelectLockingStrategy.java
M hibernate-core/src/main/java/org/hibernate/dialect/lock/UpdateLockingStrategy.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/NaturalIdResolutionsImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/ExecutableList.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionContractImplementor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/AbstractLockUpgradeEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/access/IdentifierLoadAccessImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderHelper.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/MultiIdLoaderStandard.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/spi/MultiIdEntityLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/CacheEntityLoaderHelper.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
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesSourceProcessingStateStandardImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/cfg/persister/GoofyPersisterClassProvider.java
M hibernate-core/src/test/java/org/hibernate/orm/test/engine/action/NonSortedExecutableListTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/engine/action/SortedExecutableListTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ejb3configuration/PersisterClassProviderTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/legacy/CustomPersister.java
Log Message:
-----------
HHH-15791 Avoid excessive Session casts to EventSource
2 years
[hibernate/hibernate-orm] ee1788: HHH-15393 - Improve write-paths to use mapping model
by Steve Ebersole
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: ee1788c3c3fe5ddfc4a874caab82fd55771775d9
https://github.com/hibernate/hibernate-orm/commit/ee1788c3c3fe5ddfc4a874c...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/CompositeIdentifierMapping.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/ManyToManyCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/manytoone/ManyToOneJoinTableTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/manytoone/jointable/InverseManyToOneJoinTableCompositeIdTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/manytoone/jointable/InverseManyToOneJoinTableSimpleIdTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/manytoone/jointable/ManyToOneJoinTableTest.java
Log Message:
-----------
HHH-15393 - Improve write-paths to use mapping model
2 years
[hibernate/hibernate-orm] d3fc0b: HHH-15790 New dispatch approach to manage type che...
by Sanne Grinovero
Branch: refs/heads/6.1
Home: https://github.com/hibernate/hibernate-orm
Commit: d3fc0bb4018a404ff03054d9da6a62f4066c60e2
https://github.com/hibernate/hibernate-orm/commit/d3fc0bb4018a404ff03054d...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/EnhancerImpl.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/PersistentAttributeTransformer.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/ManagedTypeHelper.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
R hibernate-core/src/main/java/org/hibernate/engine/spi/EnhancedEntity.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/Managed.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/ManagedComposite.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/ManagedEntity.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/ManagedMappedSuperclass.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PersistentAttributeInterceptable.java
A hibernate-core/src/main/java/org/hibernate/engine/spi/PrimeAmongSecondarySupertypes.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SelfDirtinessTracker.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyResolverStandardImpl.java
Log Message:
-----------
HHH-15790 New dispatch approach to manage type checks of enhanced entities
Commit: ee05a7c4be983e1d7af369bd74fbe592e7bf4abc
https://github.com/hibernate/hibernate-orm/commit/ee05a7c4be983e1d7af369b...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/CodeTemplates.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/interceptor/EnhancementAsProxyLazinessInterceptor.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/ManagedTypeHelper.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/CompositeOwner.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/CompositeTracker.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PrimeAmongSecondarySupertypes.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultFlushEntityEventListener.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/EnhancedSetterImpl.java
Log Message:
-----------
HHH-15790 Apply the new type-cache enhancements to CompositeTracker and CompositeOwner
Commit: eca5ff25454f769e4e3adf9061ccdf7cc387a503
https://github.com/hibernate/hibernate-orm/commit/eca5ff25454f769e4e3adf9...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Hibernate.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/ByteBuddyState.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/AbstractEntityEntry.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/ForeignKeys.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/ManagedTypeHelper.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PrimeAmongSecondarySupertypes.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/DefaultMergeEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultPersistEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultSaveOrUpdateEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/PersistenceUnitUtilImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/util/PersistenceUtilHelper.java
M hibernate-core/src/main/java/org/hibernate/loader/access/BaseNaturalIdLoadAccessImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/access/IdentifierLoadAccessImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/CacheEntityLoaderHelper.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/EmbeddedIdentifierMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SimpleForeignKeyDescriptor.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/SetterFieldImpl.java
M hibernate-core/src/main/java/org/hibernate/proxy/HibernateProxy.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyProxyFactory.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyProxyHelper.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityDelayedFetchInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntitySelectFetchInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/internal/domain/CircularBiDirectionalFetchImpl.java
M hibernate-core/src/main/java/org/hibernate/type/AnyType.java
M hibernate-core/src/main/java/org/hibernate/type/CollectionType.java
M hibernate-core/src/main/java/org/hibernate/type/EntityType.java
A hibernate-core/src/test/java/org/hibernate/bytecode/internal/bytebuddy/SuperTypesEnhancementTest.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/spi/BaseEnversEventListener.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/EntityInstantiator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/SingleIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/VirtualEntitySingleIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/tools/EntityTools.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/manytoone/unidirectional/RelationNotAuditedTarget.java
Log Message:
-----------
HHH-15790 Make HibernateProxy also type-cache friendly
Commit: 0d1f819d837797ad20240f7dc5c1dc52c34b7e06
https://github.com/hibernate/hibernate-orm/commit/0d1f819d837797ad20240f7...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/ByteBuddyState.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyProxyHelper.java
M hibernate-core/src/test/java/org/hibernate/bytecode/internal/bytebuddy/SuperTypesEnhancementTest.java
Log Message:
-----------
HHH-15790 Refactor filter definition in ByteBuddyProxyHelper
Commit: 31aaf1632d88e761850e4871a1de76042cc197d6
https://github.com/hibernate/hibernate-orm/commit/31aaf1632d88e761850e487...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Hibernate.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingActions.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultMergeEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/access/IdentifierLoadAccessImpl.java
M hibernate-core/src/main/java/org/hibernate/type/EntityType.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/spi/BaseEnversEventListener.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/EntityInstantiator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/SingleIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/VirtualEntitySingleIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/tools/EntityTools.java
Log Message:
-----------
HHH-15790 Refactor casting strategies for HibernateProxy across the codebase
Compare: https://github.com/hibernate/hibernate-orm/compare/accecdc08038...31aaf16...
2 years
[hibernate/hibernate-orm] 302829: HHH-15790 New dispatch approach to manage type che...
by Sanne Grinovero
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 3028299b4a6f41a60d3955ea9a1411d4681b7ff0
https://github.com/hibernate/hibernate-orm/commit/3028299b4a6f41a60d3955e...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/EnhancerImpl.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/PersistentAttributeTransformer.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/ManagedTypeHelper.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
R hibernate-core/src/main/java/org/hibernate/engine/spi/EnhancedEntity.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/Managed.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/ManagedComposite.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/ManagedEntity.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/ManagedMappedSuperclass.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PersistentAttributeInterceptable.java
A hibernate-core/src/main/java/org/hibernate/engine/spi/PrimeAmongSecondarySupertypes.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SelfDirtinessTracker.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyResolverStandardImpl.java
Log Message:
-----------
HHH-15790 New dispatch approach to manage type checks of enhanced entities
Commit: 366a1e9c1db74d69f7af6b38f24805834131d99b
https://github.com/hibernate/hibernate-orm/commit/366a1e9c1db74d69f7af6b3...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/CodeTemplates.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/interceptor/EnhancementAsProxyLazinessInterceptor.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/ManagedTypeHelper.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/CompositeOwner.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/CompositeTracker.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PrimeAmongSecondarySupertypes.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/EnhancedSetterImpl.java
Log Message:
-----------
HHH-15790 Apply the new type-cache enhancements to CompositeTracker and CompositeOwner
Commit: fbf469830cea82eef80e1cfafc8d5903671d57eb
https://github.com/hibernate/hibernate-orm/commit/fbf469830cea82eef80e1cf...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Hibernate.java
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/ByteBuddyState.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/AbstractEntityEntry.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/ForeignKeys.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/ManagedTypeHelper.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PrimeAmongSecondarySupertypes.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultDeleteEventListener.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/DefaultMergeEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultPersistEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultSaveOrUpdateEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/PersistenceUnitUtilImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/util/PersistenceUtilHelper.java
M hibernate-core/src/main/java/org/hibernate/loader/access/BaseNaturalIdLoadAccessImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/access/IdentifierLoadAccessImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/CacheEntityLoaderHelper.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/EmbeddedIdentifierMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SimpleForeignKeyDescriptor.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/SetterFieldImpl.java
M hibernate-core/src/main/java/org/hibernate/proxy/HibernateProxy.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyProxyFactory.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyProxyHelper.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityDelayedFetchInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntitySelectFetchInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/internal/domain/CircularBiDirectionalFetchImpl.java
M hibernate-core/src/main/java/org/hibernate/type/AnyType.java
M hibernate-core/src/main/java/org/hibernate/type/CollectionType.java
M hibernate-core/src/main/java/org/hibernate/type/EntityType.java
A hibernate-core/src/test/java/org/hibernate/bytecode/internal/bytebuddy/SuperTypesEnhancementTest.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/spi/BaseEnversEventListener.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/EntityInstantiator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/SingleIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/VirtualEntitySingleIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/tools/EntityTools.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/manytoone/unidirectional/RelationNotAuditedTarget.java
Log Message:
-----------
HHH-15790 Make HibernateProxy also type-cache friendly
Commit: afc35f6c62e664e4f50260f8672516758da853ac
https://github.com/hibernate/hibernate-orm/commit/afc35f6c62e664e4f50260f...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/internal/bytebuddy/ByteBuddyState.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyProxyHelper.java
M hibernate-core/src/test/java/org/hibernate/bytecode/internal/bytebuddy/SuperTypesEnhancementTest.java
Log Message:
-----------
HHH-15790 Refactor filter definition in ByteBuddyProxyHelper
Commit: 33ce6a3d79396b93d259610befc9db3123c114e8
https://github.com/hibernate/hibernate-orm/commit/33ce6a3d79396b93d259610...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Hibernate.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingActions.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultMergeEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/access/IdentifierLoadAccessImpl.java
M hibernate-core/src/main/java/org/hibernate/type/EntityType.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/spi/BaseEnversEventListener.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/EntityInstantiator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/SingleIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/VirtualEntitySingleIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/tools/EntityTools.java
Log Message:
-----------
HHH-15790 Refactor casting strategies for HibernateProxy across the codebase
Compare: https://github.com/hibernate/hibernate-orm/compare/c59534780364...33ce6a3...
2 years
[hibernate/hibernate-orm] c59534: unify timestamp generation in one generator instea...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: c595347803645dff1d4272150ea4cd53c0187598
https://github.com/hibernate/hibernate-orm/commit/c595347803645dff1d42721...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/CreationTimestamp.java
M hibernate-core/src/main/java/org/hibernate/annotations/CurrentTimestamp.java
R hibernate-core/src/main/java/org/hibernate/annotations/CurrentTimestampGeneration.java
M hibernate-core/src/main/java/org/hibernate/annotations/NoAttributeConverter.java
M hibernate-core/src/main/java/org/hibernate/annotations/Source.java
R hibernate-core/src/main/java/org/hibernate/annotations/SourceGeneration.java
M hibernate-core/src/main/java/org/hibernate/annotations/UpdateTimestamp.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
M hibernate-core/src/main/java/org/hibernate/id/uuid/UuidGenerator.java
M hibernate-core/src/main/java/org/hibernate/tuple/CreationTimestampGeneration.java
A hibernate-core/src/main/java/org/hibernate/tuple/CurrentTimestampGeneration.java
A hibernate-core/src/main/java/org/hibernate/tuple/SourceGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/UpdateTimestampGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/VmValueGeneration.java
Log Message:
-----------
unify timestamp generation in one generator instead of three
shows a nice feature of the constructor-based init
2 years
[hibernate/hibernate-orm] be9358: HHH-15785 Fix javadoc errors
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: be9358e02f64924e39ae74ed3334e113400aa2f3
https://github.com/hibernate/hibernate-orm/commit/be9358e02f64924e39ae74e...
Author: Marco Belladelli <mbellade(a)redhat.com>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/Cache71Dialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/PostgreSQLLegacyDialect.java
M hibernate-core/src/main/java/org/hibernate/annotations/package-info.java
M hibernate-core/src/main/java/org/hibernate/boot/MetadataSources.java
M hibernate-core/src/main/java/org/hibernate/boot/query/HbmResultSetMappingDescriptor.java
M hibernate-core/src/main/java/org/hibernate/cfg/Environment.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/spi/Batch.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/mutation/group/PreparedStatementDetails.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStyleGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/SelectableConsumer.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/mutation/InsertRowsCoordinator.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/Queryable.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/mutation/EntityMutationTarget.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/package-info.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/model/MutationOperation.java
M hibernate-core/src/main/java/org/hibernate/sql/model/ast/TableMutation.java
M hibernate-core/src/main/java/org/hibernate/tuple/Tuplizer.java
M hibernate-spatial/src/main/java/org/hibernate/spatial/SpatialFunction.java
M hibernate-spatial/src/main/java/org/hibernate/spatial/SpatialRelation.java
M tooling/hibernate-ant/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExportTask.java
M tooling/hibernate-ant/src/main/java/org/hibernate/tool/hbm2ddl/SchemaValidatorTask.java
Log Message:
-----------
HHH-15785 Fix javadoc errors
2 years