Ok, I was thinking of using setObject to minimise the differences in the methods actually called but looking at the API docs we should call setNull or setObject as we now (if we retain my change) have the sqlType we could call either setObject or setNull with the sqlType though I think the Teradata driver might still want setNull.