Oleksii Miroshnyk (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5a157d9...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZDEyNGMxODQz...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16733?atlOrigin=eyJpIjoiZDEyNG...
) HHH-16733 (
https://hibernate.atlassian.net/browse/HHH-16733?atlOrigin=eyJpIjoiZDEyNG...
) Doing polymorphic queries with interfaces results in exception SqmRoot not yet resolved
to TableGroup (
https://hibernate.atlassian.net/browse/HHH-16733?atlOrigin=eyJpIjoiZDEyNG...
)
Issue Type: Bug Affects Versions: 6.2.3 Assignee: Unassigned Components: query-hql
Created: 01/Jun/2023 01:11 AM Priority: Major Reporter: Oleksii Miroshnyk (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5a157d9...
)
Query SELECT COUNT(xref) from org.hibernate.bugs.IEntityA xref
results in exception
java.lang.IllegalArgumentException: org.hibernate.query.sqm.InterpretationException: Error
interpreting query [SqmRoot not yet resolved to TableGroup] ; this may indicate a semantic
(user query) problem or a bug in the parser [SqmRoot not yet resolved to TableGroup]
(
https://hibernate.atlassian.net/browse/HHH-16733#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16733#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#100225- sha1:40c4da4 )