Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 39a6f9880b3444614d799b36a24b343ea5dc0cd5
https://github.com/hibernate/hibernate-orm/commit/39a6f9880b3444614d799b3...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-04-28 (Sun, 28 Apr 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/jpa/internal/util/CacheModeHelper.java
Log Message:
-----------
clean up CacheModeHelper
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 789cc12b8e2cc29d4791bc21d477507b8a3ebf48
https://github.com/hibernate/hibernate-orm/commit/789cc12b8e2cc29d4791bc2...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-04-28 (Sun, 28 Apr 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/LockMode.java
M
hibernate-core/src/main/java/org/hibernate/action/internal/EntityVerifyVersionProcess.java
M
hibernate-core/src/main/java/org/hibernate/dialect/lock/OptimisticLockingStrategy.java
M
hibernate-core/src/main/java/org/hibernate/event/internal/DefaultPostLoadEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/util/LockModeConverter.java
M
hibernate-core/src/main/java/org/hibernate/loader/ast/internal/SingleIdEntityLoaderStandardImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/lock/LockTest.java
Log Message:
-----------
HHH-18023 fix bugs with versioned LockModes
- NPE at commit time for OPTIMISTIC on entity with no version
- LockMode.OPTIMISTIC treated as equivalent to LockModeType.OPTIMISTIC
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 16577020158a4ce1c3fbd78392b30da06e5ceca3
https://github.com/hibernate/hibernate-orm/commit/16577020158a4ce1c3fbd78...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-04-28 (Sun, 28 Apr 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderHelper.java
Log Message:
-----------
HHH-18024 fix getLockMode() on read-only entity
it resulted in spurious exception claiming entity was deleted
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 1e0e0ac02b8d3f2e3c51f87608ff5ccbf9719395
https://github.com/hibernate/hibernate-orm/commit/1e0e0ac02b8d3f2e3c51f87...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-04-28 (Sun, 28 Apr 2024)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/lock/BatchAndLockTest.java
Log Message:
-----------
HHH-18023 fix wrong test assertions
OPTIMISTIC means the version gets checked at end of tx,
this lock mode is never acquired implicitly
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: fe7b3c9e7eab1cc328429ae9356ed5a0eb27bcfd
https://github.com/hibernate/hibernate-orm/commit/fe7b3c9e7eab1cc328429ae...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-04-28 (Sun, 28 Apr 2024)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/locking/LockModeTest.java
Log Message:
-----------
HHH-18023 fix questionable test
PESSIMISTIC_READ is not really a "more exclusive" lock than UPGRADE_NOWAIT
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Compare:
https://github.com/hibernate/hibernate-orm/compare/07dc9f0a68cc...fe7b3c9...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications