Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNDgzZWU0Mzdl...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-16776?atlOrigin=eyJpIjoiNDgzZW...
) HHH-16776 (
https://hibernate.atlassian.net/browse/HHH-16776?atlOrigin=eyJpIjoiNDgzZW...
) error reporting for problems with path expressions in HQL and criteria (
https://hibernate.atlassian.net/browse/HHH-16776?atlOrigin=eyJpIjoiNDgzZW...
)
Issue Type: Improvement Assignee: Unassigned Components: query-criteria, query-hql
Created: 09/Jun/2023 13:09 PM Priority: Minor Reporter: Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
The criteria API specifies the use of IllegalStateException and IllegalArgumentException
for reporting errors with unfound subpaths. I don’t like this decision but we have to live
with it. ( IllegalStateException is especially inappropriate.)
To comply with this, but also produce more nicely-typed errors (for use in Query
Validator, for example), I’m adding two new subclasses of the mandated exception types:
TerminalPathException and PathElementException.
(
https://hibernate.atlassian.net/browse/HHH-16776#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16776#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:956085d )