borinquenkid commented on PR #16733: URL: https://github.com/apache/grails-core/pull/16733#issuecomment-6353298342
Pushed 1e47f7ed5d, from jamesfredley's review on #16696: `QueryPathContext` now exposes `getSelectionAlias(String)`, so an order handler can order by the expression a `sqlProjection` records under its column alias; predicate property resolution is unchanged. `HibernateCriteriaBuilderSqlProjectionSpec` orders by a `sqlProjection` alias through a handler and asserts the rows come in the projection's order and the SQL orders by the select item (`order by 1 desc`), not by a column. The guide names the accessor. -- 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]
