Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: a3ca11a36349279a9aa9757af047743f0851fd9f
https://github.com/hibernate/hibernate-orm/commit/a3ca11a36349279a9aa9757...
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: 3bda3adc4fb51a6e69ff47f5e53d9b0cb93f88fa
https://github.com/hibernate/hibernate-orm/commit/3bda3adc4fb51a6e69ff47f...
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/27bf0b852318...3bda3ad...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications