|
The test script InsertNullIntoDBTest.groovy does not fail running under GroovyGroovy 1.5.3 JVM : 1.6.0_03-b05 (Ubuntu Linux). However, the following slight variation does fail: db.execute "INSERT INTO COUNTRY (country,currency) VALUES (?,?)",[it.key,it.value] with the following output: US USD You might need to provide more info. This script: Map countryMap = ['US' : 'USD', 'DE' : 'EUR', 'GB' : null] countryMap.each{ println it.key + " " + it.value db.execute "INSERT INTO COUNTRY (country,currency) VALUES (?,?)", [it.key, it.value] } works for me on 1.5.4 using hsql. This seems related to |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I checked this again against Version 1.5 of groovy.
Testcase still failed