I am not sure it will work on closed resultsetm, It is better to return
custom metadata object and value as result from
handler.
I have changed "handle" signature it will have "params" from prepared
statement.

----- Original Message -----
From: "Steven Caswell" <[EMAIL PROTECTED]>
To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]>
Sent: Sunday, March 09, 2003 7:07 PM
Subject: [dbutils] propose adding getResultSetMetaData to
DbUtils.ResultSetHandler


As the subject says, I'd like to modify DbUtils.ResultSetHandler to add a
getResultSetMetaData operation. This would provide a callback to allow an
application using DbUtils.execute to get the column descriptions from the
handler. Proposed signature:

public ResultSetMetaData getResultSetMetaData();


Steven Caswell
[EMAIL PROTECTED]
"In our own native land, in defense of the freedom that is our birthright,
and which we ever enjoyed till the late violation of it -- for the
protection of our property, acquired solely by the honest industry of our
fore-fathers and ourselves, against violence actually offered, we have taken
up arms. We shall lay them down when hostilities shall cease on the part of
the aggressors, and all danger of their being renewed shall be removed, and
not before." - Thomas Jefferson






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to