The GitHub Actions job "Code Style" on 
grails-core.git/ci/hibernate-matrix-testing has failed.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
a63dcadbb91c9e48f40872405bcd93096188dce2 / Walter Duque de Estrada 
<[email protected]>
fix(test): correct GormCriteriaQueriesSpec to use safe HQL overloads and proper 
applicationClass

- Replace executeQuery(plainString) and executeUpdate(plainString) calls
  with the (String, Map) overloads (empty map for parameterless queries).
  HibernateGormStaticApi intentionally rejects plain String in the
  no-arg overload to prevent HQL injection; parameterless static queries
  must use the Map overload.

- Add applicationClass = Application to @Integration so the spec shares
  the same application context and transaction manager as the other specs
  in this module, preventing test-data bleed between specs.

Co-authored-by: Copilot <[email protected]>

Report URL: https://github.com/apache/grails-core/actions/runs/24196535709

With regards,
GitHub Actions via GitBox

Reply via email to