borinquenkid opened a new pull request, #16817:
URL: https://github.com/apache/grails-core/pull/16817

   ### Summary
   Supports scalar `QueryableCriteria` subqueries in comparison criteria 
(`GreaterThan`, `GreaterThanEquals`, `LessThan`, `LessThanEquals`) within 
`PropertyCriterionHandler`.
   
   - Builds a JPA `Subquery` expression when the criterion value is a 
`QueryableCriteria` instead of converting the value as a scalar 
literal/parameter.
   - Infers the subquery return type via `resolveSubqueryType` from scalar 
projections (`AvgProjection`, `CountProjection`, `CountDistinctProjection`, 
`IdProjection`, `PropertyProjection`).
   
   > **Note:** Chained on #16816 (`fix/h7-where-query-functions-8.0.x`).
   
   Fixes #16812


-- 
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]

Reply via email to