Branch: refs/heads/wip/7.0
Home:
https://github.com/hibernate/hibernate-orm
Commit: 75279c9ed41b2112020ee6bbcaf45ee9ff0ef3e5
https://github.com/hibernate/hibernate-orm/commit/75279c9ed41b2112020ee6b...
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: 93b1e237a2e7e6b73566a92a27143eb054a998f9
https://github.com/hibernate/hibernate-orm/commit/93b1e237a2e7e6b73566a92...
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/CacheMode.java
A hibernate-core/src/main/java/org/hibernate/EnabledFetchProfile.java
M hibernate-core/src/main/java/org/hibernate/LockMode.java
M hibernate-core/src/main/java/org/hibernate/LockOptions.java
A hibernate-core/src/main/java/org/hibernate/ReadOnlyMode.java
M hibernate-core/src/main/java/org/hibernate/Session.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/jpa/findoptions/FindOptionsTest.java
Log Message:
-----------
HHH-18001 introduce support for FindOptions
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 4cc158afba5fe2a5bf85ac86bc7a0c7c1da617eb
https://github.com/hibernate/hibernate-orm/commit/4cc158afba5fe2a5bf85ac8...
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: a315027c2676f5945f6a3adcf8af1d3a0062350a
https://github.com/hibernate/hibernate-orm/commit/a315027c2676f5945f6a3ad...
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: 9e6ca3881209704b42383858c65f993129dc90e4
https://github.com/hibernate/hibernate-orm/commit/9e6ca3881209704b4238385...
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: 571104a8c7493da69bcfdb15052c7d39fd041d17
https://github.com/hibernate/hibernate-orm/commit/571104a8c7493da69bcfdb1...
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>
Commit: 2f53f57f9b9381681bc8907e4d003a1c7a919d73
https://github.com/hibernate/hibernate-orm/commit/2f53f57f9b9381681bc8907...
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/LockOptions.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
Log Message:
-----------
HHH-18025 RefreshOptions and LockOptions
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 7d678e0e782d9c1d4c07f72327f79c928e063be4
https://github.com/hibernate/hibernate-orm/commit/7d678e0e782d9c1d4c07f72...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-04-28 (Sun, 28 Apr 2024)
Changed paths:
A
hibernate-core/src/test/java/org/hibernate/orm/test/jpa/findoptions/LockOptionsTest.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/jpa/findoptions/RefreshOptionsTest.java
Log Message:
-----------
HHH-18025 tests for RefreshOptions and LockOptions
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Compare:
https://github.com/hibernate/hibernate-orm/compare/a8adfe46ec05...7d678e0...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications