grails-data-mapping icon indicating copy to clipboard operation
grails-data-mapping copied to clipboard

Version of eq which accepts ignoreCase is not available during unit tests

Open snimavat opened this issue 6 years ago • 1 comments
trafficstars

eq('variable', v, [ignoreCase: true])

Unit test will fail with error

No signature of method: grails.gorm.CriteriaBuilder.eq() is applicable

Gorm 6.1.11.RELEASE

snimavat avatar Jul 11 '19 11:07 snimavat

Also, @GrailsCompileStatic does not support signature eq('name', val, [ignoreCase: true]) and would fail to compile.

snimavat avatar Oct 28 '20 09:10 snimavat