Branch: refs/heads/6.4
Home:
https://github.com/hibernate/hibernate-orm
Commit: 9fc1ba259f067705b7febaba89767d624590a614
https://github.com/hibernate/hibernate-orm/commit/9fc1ba259f067705b7febab...
Author: Ken Schosinsky <schosinsky(a)spirit-of-selling.de>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
A
hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/ConcurrentConcreteSqmSelectQueryPlainTest.java
Log Message:
-----------
HHH-17742 Test for race condition in ConcreteSqmSelectQueryPlan
Race condition occurs when two or more concurrent reach the synchronized
block in ConcreteSqmSelectQueryPlan#withCacheableSqmInterpretation. The
latter ones will see the cacheableSqmInterpretation by the first one,
but don't check whether it is compatible
(jdbcSelect.dependsOnParameterBindings(), jdbcSelect.isCompatibleWith).
On MySQL this can cause "limit null,1" to be rendered if the first query
has both offset and limit, the latter ones only a limit.
Commit: fff89542a6a2b12d04bf89017c81da35ede217af
https://github.com/hibernate/hibernate-orm/commit/fff89542a6a2b12d04bf890...
Author: Ken Schosinsky <schosinsky(a)spirit-of-selling.de>
Date: 2024-02-19 (Mon, 19 Feb 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/ConcreteSqmSelectQueryPlan.java
Log Message:
-----------
HHH-17742 Fix race condition in ConcreteSqmSelectQueryPlan
Compare:
https://github.com/hibernate/hibernate-orm/compare/a4cbe2f95aba...fff8954...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications