commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayant K Das" <>
Subject [commons-dbutils-1.1-dev] QueryRunner#fillStatement - Problem with java.util.Date objects
Date Tue, 18 Apr 2006 07:26:47 GMT

I am using the QueryRunner of 1.1-dev which has handled the setNull
property, but there probably remains a problem, if the param contains a
java.util.Date object, in that case setObject() won't work directly, rather
it needs to be changed to java.sql.Date, in this context I have a question
that whether this conversion should be handled by the QueryRunner or it
should be the responsibility of the user to fill the appropriate data type
before calling the method?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message