Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: b31505fc96754e5009508bac92c62f250ffc1e02
https://github.com/hibernate/hibernate-orm/commit/b31505fc96754e5009508ba...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2025-04-01 (Tue, 01 Apr 2025)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
Log Message:
-----------
throw QueryTimeoutException and LockTimeoutException on MySQL and Maria
Commit: b7cfe004ca3cf9f468b067a05530cc0cc45b80d8
https://github.com/hibernate/hibernate-orm/commit/b7cfe004ca3cf9f468b067a...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2025-04-01 (Tue, 01 Apr 2025)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
Log Message:
-----------
use LockTimeoutException instead of PessimisticLockException on Postgres and h2
this is perhaps not *perfectly* correct for Postgres, but I believe it's good
enough for our purposes (this error code can occur in some other situations,
but they are very unlikely to affect us, it seems to me)
Commit: 1b56e3d4e66bfbecbe4e131b38bbc07c4f509e8f
https://github.com/hibernate/hibernate-orm/commit/1b56e3d4e66bfbecbe4e131...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2025-04-01 (Tue, 01 Apr 2025)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/NonUniqueResultException.java
M hibernate-core/src/main/java/org/hibernate/PessimisticLockException.java
M hibernate-core/src/main/java/org/hibernate/QueryTimeoutException.java
M hibernate-core/src/main/java/org/hibernate/StaleStateException.java
M
hibernate-core/src/main/java/org/hibernate/dialect/lock/OptimisticEntityLockException.java
M
hibernate-core/src/main/java/org/hibernate/dialect/lock/PessimisticEntityLockException.java
M hibernate-core/src/main/java/org/hibernate/exception/LockTimeoutException.java
Log Message:
-----------
add some jdoc @sees to equivalent JPA exception types
Commit: c0032b1b1e31d2d0f49df1729f00f7c538d84141
https://github.com/hibernate/hibernate-orm/commit/c0032b1b1e31d2d0f49df17...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2025-04-01 (Tue, 01 Apr 2025)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/ExceptionConverterImpl.java
Log Message:
-----------
convert our LockAcquisitionException to a JPA PessimisticLockException
Commit: ec75613eed40bbaa0455f45b6cf25626f3a7232b
https://github.com/hibernate/hibernate-orm/commit/ec75613eed40bbaa0455f45...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2025-04-01 (Tue, 01 Apr 2025)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/PessimisticLockException.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/exception/LockAcquisitionException.java
M
hibernate-core/src/main/java/org/hibernate/exception/internal/SQLStateConversionDelegate.java
M hibernate-core/src/main/java/org/hibernate/internal/ExceptionConverterImpl.java
Log Message:
-----------
make LAE extend PLE and clean up SQLStateConversionDelegate
- PessimisticLockException dupes the role of LockAcquisitionException
- We should not have database-specific codes on SQLStateConversionDelegate
- throw LAE instead of PLE on MySQL and Maria
Commit: 55a9e4edd0aaab09543e6bfacd337a9114f6c197
https://github.com/hibernate/hibernate-orm/commit/55a9e4edd0aaab09543e6bf...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2025-04-01 (Tue, 01 Apr 2025)
Changed paths:
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CockroachLegacyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java
M hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
Log Message:
-----------
get rid of useless log message
we don't have this for the other dialects, even though they all behave similarly
Commit: a1b91e9c31856eb534a106ced9d6640de7fd5c5b
https://github.com/hibernate/hibernate-orm/commit/a1b91e9c31856eb534a106c...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2025-04-01 (Tue, 01 Apr 2025)
Changed paths:
M migration-guide.adoc
Log Message:
-----------
mention exception changes in the migration guide
Commit: c88201dcda53ee67fd56e2750f25d6572fa49a77
https://github.com/hibernate/hibernate-orm/commit/c88201dcda53ee67fd56e27...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2025-04-01 (Tue, 01 Apr 2025)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/orm/test/dialect/unit/CockroachDialectVersionTest.java
Log Message:
-----------
get rid of test for a log message
there's nothing I hate more than tests for log messages!
Log messages are not part of the specified behavior of the library,
and so they can't have tests. Your program should never depend on
the behavior of the log messages written by Hibernate.
Commit: 0b71d3b63f8b4af9afd2ed9c7bd60ab91e5a084c
https://github.com/hibernate/hibernate-orm/commit/0b71d3b63f8b4af9afd2ed9...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2025-04-01 (Tue, 01 Apr 2025)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDBDialect.java
A
hibernate-core/src/main/java/org/hibernate/exception/SnapshotIsolationException.java
M hibernate-core/src/main/java/org/hibernate/internal/ExceptionConverterImpl.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/batch/BatchUpdateAndVersionTest.java
Log Message:
-----------
introduce SnapshotIsolationException to fix tests on Maria
Compare:
https://github.com/hibernate/hibernate-orm/compare/a706c649974a...0b71d3b...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications