Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0, 1.1-beta-3
-
Fix Version/s: 1.5.2
-
Component/s: SQL processing
-
Labels:None
-
Environment:CYGWIN_NT-5.1 <censored> 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode)
-
Testcase included:yes
-
Number of attachments :
Description
groovy failed to insert a null ( a.k . Undefined ) value into database using GString.
See source of attached testcase
Testcase return:
testNullInsert(InsertNullIntoDBTest)java.sql.SQLException: Unexpected token: ) in statement [INSERT INTO COUNTRY (country,currency) VALUES (?,)]
Attachments
Issue Links
| This issue is duplicated by: | ||||
| GROOVY-1358 | getParameters and asSql process / strip nulls incorrectly |
|
|
|
| This issue relates to: | ||||
| GROOVY-2585 | Can not insert nulls into the table using Sql.execute |
|
|
|
I checked this again against Version 1.5 of groovy.
Testcase still failed