db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Re: setNull on prepared statement not working?
Date Mon, 07 Feb 2005 23:08:05 GMT
Jeremiah Jahn wrote:

>shouldn't this work?
>
>	insertPreparedStatement.setNull(5,Types.NULL); where column is a
>timestamp column.
>  
>
You would want to do it like this:

insertPreparedStatement.setNull(5,Types.TIMESTAMP); 

The type should be the type of the column.

Kathey



Mime
View raw message