jamesfredley opened a new pull request, #16719: URL: https://github.com/apache/grails-core/pull/16719
Fixes #16712. A parenthesized root query such as `(select b.title from Book b)` was treated as a subquery when choosing the result type, so `executeQuery` was given the domain class and failed. Analysis now unwraps only parentheses that enclose the whole query. The HQL sent to Hibernate is unchanged, and a nested subquery is still left intact. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
