ClassCastException when Hibernate tries to create a list of UUIDs for query since Quarkus 3.7.1 #38660
Labels
area/hibernate-orm
Hibernate ORM
area/persistence
OBSOLETE, DO NOT USE
kind/bug
Something isn't working
triage/invalid
This doesn't seem right
triage/needs-reproducer
We are waiting for a reproducer.
Describe the bug
With
quarkus-hibernate-orm-panache-kotlin
we have Countries and Cities with@ManyToOne
and@OneToMany
relation and discovered that when we callCitiyEntity.listAll()
, it crashes withjava.lang.IllegalStateException: Illegal pop() with non-matching JdbcValuesSourceProcessingState
which is created by a ClassCastException when Hibernate tries to retrieve all Countries with a FROM-Query on Countries by usingwhere in
and converting a list of UUIDs.wrapped[ select ce1_0.id,ce1_0.iso,ce1_0.iso3,ce1_0.name,ce1_0.nice_name,ce1_0.num_code,ce1_0.phone_code from country ce1_0 where ce1_0.id = any (?) ]
When using the debugger and "Evaluate Expression" to run CityEntity.listAll() multiple times, it works after the first time.
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
21
Quarkus version or git rev
3.7.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)mvnw
Additional information
No response
The text was updated successfully, but these errors were encountered: