On Fri, 12 Dec 2003 21:57:09 -0800 (PST), David Graham
<[EMAIL PROTECTED]> wrote:
http://jakarta.apache.org/commons/dbutils/apidocs/org/apache/commons/dbutils/QueryRunner.html#update(java.lang.String)
Thanks,
I overlooked the update methods.
--
John Zoetebier
Web site: http://www.transparent.co.nz
David
--- John Zoetebier <[EMAIL PROTECTED]> wrote:
It seems I always have to pass a resulthandler even if I delete a
record.
For example this code:
==>
try {
sql = "delete from Client where (ClientID=40)";
runner.query(conn, sql, null, rsh);
} catch (SQLException se) {
System.out.println(se.getMessage());
return;
}
==>
I have to pass ResultHandler rsh which must be non-null.
Why is this ?
--
John Zoetebier
Web site: http://www.transparent.co.nz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]