Thanks for the reply - I am using Spring jdbcTemplate's batchUpdate method to do some inserts - one record has a null value in parameter 6. So you're exactly right.
I see two options to solve this:
1) don't use batchUpdate method
2) find a way to force the NULL value to be the correct data type - to do this, I think I would need to determine how my null java ref is being converted into the varchar ('null' - i'm guessing) when passed to the JDBC driver.
I think I'll go with #1 for now - I don't have enough insight into the inner workings of the JDBC driver to worry about #2.
Thanks again,
Luke
Thanks for the reply - I am using Spring jdbcTemplate's batchUpdate method to do some inserts - one record has a null value in parameter 6. So you're exactly right.
I see two options to solve this:
1) don't use batchUpdate method
2) find a way to force the NULL value to be the correct data type - to do this, I think I would need to determine how my null java ref is being converted into the varchar ('null' - i'm guessing) when passed to the JDBC driver.
I think I'll go with #1 for now - I don't have enough insight into the inner workings of the JDBC driver to worry about #2.
Thanks again,
Luke