This is an automated email from the ASF dual-hosted git repository.

borinquenkid pushed a commit to branch 7.1.x-hibernate6
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit e0d26c9fe7f57c160f313a0cab06fe73df7e4dc3
Author: Walter Duque de Estrada <[email protected]>
AuthorDate: Thu Oct 16 23:22:12 2025 -0500

    fixed query
---
 .../groovy/grails/gorm/specs/ExecuteQueryWithinValidatorSpec.groovy     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/grails-data-hibernate6/core/src/test/groovy/grails/gorm/specs/ExecuteQueryWithinValidatorSpec.groovy
 
b/grails-data-hibernate6/core/src/test/groovy/grails/gorm/specs/ExecuteQueryWithinValidatorSpec.groovy
index 5e4b5de8be..bf55a9efa4 100644
--- 
a/grails-data-hibernate6/core/src/test/groovy/grails/gorm/specs/ExecuteQueryWithinValidatorSpec.groovy
+++ 
b/grails-data-hibernate6/core/src/test/groovy/grails/gorm/specs/ExecuteQueryWithinValidatorSpec.groovy
@@ -60,7 +60,7 @@ class Named {
         nameType (validator: { val, obj, errors ->
             if (val !=null) {
                 def parms = [nameType: val.nameType.trim().toLowerCase() ]
-                def rows = NameType.executeQuery("""select nameType from 
NameType where lower(nameType) = :nameType""", parms)
+                def rows = NameType.executeQuery("""select nameType from 
NameType where lower(nameType) = :nameType""", parms,[:])
 
                 def found =false
                 if (rows !=null && rows.size() ==1)

Reply via email to