Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 54d34a445cc7cc8cdeeaf004f0e5373026e2c84a
https://github.com/hibernate/hibernate-orm/commit/54d34a445cc7cc8cdeeaf00...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-05-14 (Tue, 14 May 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Session.java
M
hibernate-core/src/main/java/org/hibernate/action/internal/EntityVerifyVersionProcess.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M
hibernate-core/src/main/java/org/hibernate/dialect/lock/AbstractSelectLockingStrategy.java
M
hibernate-core/src/main/java/org/hibernate/dialect/lock/OptimisticForceIncrementLockingStrategy.java
M
hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticReadSelectLockingStrategy.java
M
hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticWriteSelectLockingStrategy.java
M hibernate-core/src/main/java/org/hibernate/dialect/lock/SelectLockingStrategy.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderHelper.java
Log Message:
-----------
clean up locking strategies
- remove duplicated code
- handle UPGRADE_NOWAIT and UPGRADE_SKIPLOCKED as flavors of
PessimisticWriteSelectLockingStrategy
- improve Javadoc
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 7c8690592e8cf5a47b9f58aa4b272d60264c0137
https://github.com/hibernate/hibernate-orm/commit/7c8690592e8cf5a47b9f58a...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-05-14 (Tue, 14 May 2024)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/orm/test/dialect/functional/SQLServerDialectTest.java
Log Message:
-----------
fix test, since locking strategy now wraps LockTimeoutException
I'm conflicted about this, but it's more consistent, since we
wrap all other JDBCExceptions. And since LockTimeoutException
is a JDBCException, it must be interpreted as belonging to that
lower semantic layer.
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Compare:
https://github.com/hibernate/hibernate-orm/compare/1b67ebee6052...7c86905...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications