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

   ### Summary of Changes
   
   1. **Where-Query Function Support (Fixes #16811)**:
      - Added query handler for `FunctionCallingCriterion` in `JpaQueryBuilder` 
emitting JPA function expressions with parameterized comparisons (`=`, `!=`, 
`<`, `<=`, `>`, `>=`, `LIKE`, `ILIKE`, `IN`).
      - Added `WhereQueryFunctionsSpec` covering string (`upper`, `lower`, 
`trim`, `length`) and date (`year`, `month`, `day`, `hour`, `minute`, `second`) 
where-queries against Hibernate 7.
   
   2. **PredicateGenerator Refactoring**:
      - Encapsulated criterion evaluation state into `CriterionContext`.
      - Introduced `InternalCriterionHandler` strategy interface.
      - Extracted dedicated criterion delegates 
(`FunctionCallingCriterionHandler`, `PropertyCriterionHandler`, 
`PropertyComparisonCriterionHandler`, `PropertyNameCriterionHandler`, 
`JunctionCriterionHandler`, `SubqueryCriterionHandler`, 
`ExistsCriterionHandler`, `NotExistsCriterionHandler`, 
`AssociationCriterionHandler`, `SqlRestrictionCriterionHandler`).
      - Refactored `PredicateGenerator` to dispatch criteria via 
`CriterionContext` and (1)$ concurrent map lookup while preserving the public 
SPI (`CUSTOM_HANDLERS`).
      - Added unit test coverage in `PredicateGeneratorSpec`.


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