Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 7422c18a949e29b842f8eac9f8b4c854404d7aab
https://github.com/hibernate/hibernate-orm/commit/7422c18a949e29b842f8eac...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-08-31 (Sat, 31 Aug 2024)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/pc/PersistenceContext.adoc
M
hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityInitializerImpl.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/HHH_10708/UnexpectedDeleteTest2.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/backref/BackrefCompositeMapKeyTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/orphan/OrphanTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/cascade/RefreshTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/collection/backref/map/compkey/BackrefCompositeMapKeyTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/dialect/functional/SQLServerDialectTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/immutable/ImmutableTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/immutable/entitywithmutablecollection/AbstractEntityWithManyToManyTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/joinedsubclass/JoinedSubclassTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/jpa/cascade/MergeWithTransientNonCascadedAssociationTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/CachedMutableNaturalIdNonStrictReadWriteTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/mutable/cached/CachedMutableNaturalIdStrictReadWriteTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/orphan/OrphanTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/pc/CascadeLockTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/pc/PersistenceContextTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlyProxyTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlySessionTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlyTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/refresh/Customer.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/refresh/RefreshDetachedInstanceWhenIsAllowedTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/refresh/RefreshTest.java
R
hibernate-core/src/test/java/org/hibernate/orm/test/refresh/RefreshUsingEntityNameTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/session/AssociateEntityWithTwoSessionsTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/sql/ast/ParameterMarkerStrategyTests.java
R hibernate-core/src/test/resources/org/hibernate/orm/test/refresh/Customer.hbm.xml
Log Message:
-----------
HHH-18169 disallow refresh/lock for detached instance
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: f45e3db4b0e40ff95d65e59e12d87a1b24b72be8
https://github.com/hibernate/hibernate-orm/commit/f45e3db4b0e40ff95d65e59...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-08-31 (Sat, 31 Aug 2024)
Changed paths:
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/spi/ActionQueue.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/CascadingActions.java
M
hibernate-core/src/main/java/org/hibernate/event/internal/DefaultDeleteEventListener.java
M
hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLockEventListener.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/internal/SessionImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityIdentifierMapping.java
M hibernate-core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/LazyOneToOneRemoveFlushAccessTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/readonly/ReadOnlyProxyTest.java
Log Message:
-----------
HHH-18552 clean up inappropriate usages of TransientObjectException
and minor cleanups in StatefulPersistenceContext
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Compare:
https://github.com/hibernate/hibernate-orm/compare/1d12dc0499b2...f45e3db...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications