Thomas Heigl (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMzRhMThhNTI2...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-15644?atlOrigin=eyJpIjoiMzRhMT...
) HHH-15644 (
https://hibernate.atlassian.net/browse/HHH-15644?atlOrigin=eyJpIjoiMzRhMT...
) ClassCastException for EmbeddableFetchInitializer since 6.1.1 (
https://hibernate.atlassian.net/browse/HHH-15644?atlOrigin=eyJpIjoiMzRhMT...
)
Change By: Thomas Heigl (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
After upgrading from 6.1. 4 0 to 6.1. 5 1 many of our tests fail with the following
ClassCastException:
{noformat}java.lang.ClassCastException: class
org.hibernate.sql.results.graph.embeddable.internal.EmbeddableFetchInitializer cannot be
cast to class org.hibernate.sql.results.graph.entity.AbstractEntityInitializer
(org.hibernate.sql.results.graph.embeddable.internal.EmbeddableFetchInitializer and
org.hibernate.sql.results.graph.entity.AbstractEntityInitializer are in unnamed module of
loader 'app')
at
org.hibernate.sql.results.graph.entity.internal.BatchEntitySelectFetchInitializer.endLoading(BatchEntitySelectFetchInitializer.java:225)
at
org.hibernate.sql.results.internal.StandardRowReader.finishUp(StandardRowReader.java:161)
at
org.hibernate.sql.results.spi.ListResultsConsumer.consume(ListResultsConsumer.java:168)
at org.hibernate.sql.results.spi.ListResultsConsumer.consume(ListResultsConsumer.java:32)
at
org.hibernate.sql.exec.internal.JdbcSelectExecutorStandardImpl.doExecuteQuery(JdbcSelectExecutorStandardImpl.java:443)
at
org.hibernate.sql.exec.internal.JdbcSelectExecutorStandardImpl.executeQuery(JdbcSelectExecutorStandardImpl.java:166)
at
org.hibernate.sql.exec.internal.JdbcSelectExecutorStandardImpl.list(JdbcSelectExecutorStandardImpl.java:91)
at org.hibernate.sql.exec.spi.JdbcSelectExecutor.list(JdbcSelectExecutor.java:31)
at
org.hibernate.query.sqm.internal.ConcreteSqmSelectQueryPlan.lambda$new$0(ConcreteSqmSelectQueryPlan.java:102)
at
org.hibernate.query.sqm.internal.ConcreteSqmSelectQueryPlan.withCacheableSqmInterpretation(ConcreteSqmSelectQueryPlan.java:305)
at
org.hibernate.query.sqm.internal.ConcreteSqmSelectQueryPlan.performList(ConcreteSqmSelectQueryPlan.java:246)
at org.hibernate.query.sqm.internal.QuerySqmImpl.doList(QuerySqmImpl.java:546)
at org.hibernate.query.spi.AbstractSelectionQuery.list(AbstractSelectionQuery.java:363)
at org.hibernate.query.sqm.internal.QuerySqmImpl.list(QuerySqmImpl.java:1032){noformat}
I can try to create a reproducer in the next days, but I think the stracktrace should
provide enough information about the problem.
(
https://hibernate.atlassian.net/browse/HHH-15644#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15644#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100209- sha1:d23b292 )