[hibernate/hibernate-orm] 2e81c3: HHH-13465 Allow inlined access to the PersistenceC...
by Sanne Grinovero
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 2e81c322652750bb775ad650d0aa5e0f5c551a13
https://github.com/hibernate/hibernate-orm/commit/2e81c322652750bb775ad65...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-06-28 (Fri, 28 Jun 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/action/internal/AbstractEntityInsertAction.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/QueuedOperationCollectionAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/UnresolvedEntityInsertActions.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/interceptor/EnhancementAsProxyLazinessInterceptor.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/interceptor/EnhancementHelper.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/interceptor/LazyAttributeLoadingInterceptor.java
M hibernate-core/src/main/java/org/hibernate/collection/internal/AbstractPersistentCollection.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/engine/internal/AbstractEntityEntry.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/BatchFetchQueueHelper.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/Collections.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/ForeignKeys.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
M hibernate-core/src/main/java/org/hibernate/engine/loading/internal/CollectionLoadContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingActions.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/CollectionEntry.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/QueryParameters.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/AbstractFlushingEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/AbstractReassociateEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/AbstractSaveEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultAutoFlushEventListener.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/DefaultFlushEntityEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultFlushEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultInitializeCollectionEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLockEventListener.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/DefaultPostLoadEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultRefreshEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultReplicateEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultResolveNaturalIdEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultSaveEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultSaveOrUpdateEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultUpdateEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DirtyCollectionSearchVisitor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/EvictVisitor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/FlushVisitor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/MergeContext.java
M hibernate-core/src/main/java/org/hibernate/event/internal/OnReplicateVisitor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/PostUpdateEventListenerStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/event/internal/ProxyVisitor.java
M hibernate-core/src/main/java/org/hibernate/event/internal/WrapVisitor.java
M hibernate-core/src/main/java/org/hibernate/event/spi/AbstractCollectionEvent.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractScrollableResults.java
M hibernate-core/src/main/java/org/hibernate/internal/CriteriaImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/IteratorImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/ScrollableResultsImpl.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/Loader.java
M hibernate-core/src/main/java/org/hibernate/loader/collection/DynamicBatchingCollectionInitializerBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/collection/LegacyBatchingCollectionInitializerBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/collection/PaddedBatchingCollectionInitializerBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/collection/plan/LegacyBatchingCollectionInitializerBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/DynamicBatchingEntityLoaderBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/LegacyBatchingEntityLoaderBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/PaddedBatchingEntityLoaderBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/LegacyBatchingEntityLoaderBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/internal/AbstractLoadPlanBasedLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/process/internal/CollectionReferenceInitializerImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/process/internal/EntityReferenceInitializerImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/process/internal/EntityReturnReader.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/process/internal/ResultSetProcessingContextImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/process/internal/ResultSetProcessorImpl.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/NamedQueryLoader.java
M hibernate-core/src/main/java/org/hibernate/pretty/MessageHelper.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyBackRefImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyIndexBackRefImpl.java
M hibernate-core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java
M hibernate-core/src/main/java/org/hibernate/query/internal/AbstractProducedQuery.java
M hibernate-core/src/main/java/org/hibernate/stat/internal/SessionStatisticsImpl.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
M hibernate-core/src/main/java/org/hibernate/type/CollectionType.java
M hibernate-core/src/main/java/org/hibernate/type/ComponentType.java
M hibernate-core/src/main/java/org/hibernate/type/EntityType.java
M hibernate-core/src/main/java/org/hibernate/type/ManyToOneType.java
M hibernate-core/src/main/java/org/hibernate/type/OneToOneType.java
M hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchFetchNotFoundIgnoreDefaultStyleTest.java
M hibernate-core/src/test/java/org/hibernate/test/collection/dereferenced/AbstractDereferencedCollectionTest.java
M hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/AggregatedCollectionEventListener.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/spi/BaseEnversCollectionEventListener.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/AbstractCollectionMapper.java
Log Message:
-----------
HHH-13465 Allow inlined access to the PersistenceContext for internal methods
5 years, 4 months
[hibernate/hibernate-orm] 409ba5: HHH-11147 - Integrate enhanced-proxy support with ...
by Sanne Grinovero
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 409ba5709bc6a26028406c1c4ae66c855af5b8ec
https://github.com/hibernate/hibernate-orm/commit/409ba5709bc6a26028406c1...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2019-06-27 (Thu, 27 Jun 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/spi/BytecodeEnhancementMetadata.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/BatchFetchQueue.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/PersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/BytecodeEnhancementMetadataNonPojoImpl.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/BytecodeEnhancementMetadataPojoImpl.java
Log Message:
-----------
HHH-11147 - Integrate enhanced-proxy support with BatchFetchQueue
Commit: b5d845c89d781b01ba10353b19a0658158b1a9a8
https://github.com/hibernate/hibernate-orm/commit/b5d845c89d781b01ba10353...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2019-06-27 (Thu, 27 Jun 2019)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/BatchFetchProxyTest.java
Log Message:
-----------
HHH-11147 - Integrate enhanced-proxy support with BatchFetchQueue
Commit: d983e29e879d94b94d0de7c2b7439fc8b6fc3602
https://github.com/hibernate/hibernate-orm/commit/d983e29e879d94b94d0de7c...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2019-06-27 (Thu, 27 Jun 2019)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/BatchFetchProxyTest.java
Log Message:
-----------
HHH-11147 - Integrate enhanced-proxy support with BatchFetchQueue
Commit: 5d0d134df39f44567f1baa50b0b461efaf774147
https://github.com/hibernate/hibernate-orm/commit/5d0d134df39f44567f1baa5...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-06-27 (Thu, 27 Jun 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/BytecodeEnhancementMetadataPojoImpl.java
Log Message:
-----------
HHH-11147 micro optimisation: avoid looking up the same object multiple times
Commit: 6aebd26167f41106e09bfbb1ef1a299065832d5b
https://github.com/hibernate/hibernate-orm/commit/6aebd26167f41106e09bfbb...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-06-27 (Thu, 27 Jun 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java
Log Message:
-----------
HHH-11147 Avoid allocating a BatchFetchQueue if batching was not enabled
Commit: 41f155fcd94609518c90b5c131df9dbd28a44c87
https://github.com/hibernate/hibernate-orm/commit/41f155fcd94609518c90b5c...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2019-06-27 (Thu, 27 Jun 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/BatchFetchQueue.java
Log Message:
-----------
HHH-13467 Make average BatchFetchQueue consume less memory
Compare: https://github.com/hibernate/hibernate-orm/compare/87bab8336116...41f155f...
5 years, 4 months