commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juozas Baliuka" <bali...@centras.lt>
Subject Re: [dbutils] ResultSetHandler.handle() method
Date Wed, 22 Oct 2003 17:56:28 GMT
Change it to  "public Object handle(ResultSet rs) throws SQLException".
 "Object params[], Object userObject" was for "ProcedureUtils".



----- Original Message ----- 
From: "David Graham" <grahamdavid1980@yahoo.com>
To: <commons-dev@jakarta.apache.org>
Sent: Wednesday, October 22, 2003 7:10 PM
Subject: [dbutils] ResultSetHandler.handle() method


> Currently, the ResultSetHandler.handle() method has this signature:
> 
> public Object handle(ResultSet rs, Object params[], Object userObject)
>         throws SQLException;
> 
> The mail archives show the initial suggestions was the simpler:
> 
> public Object handle(ResultSet rs) throws SQLException;
> 
> None of the handler implementations in DbUtils use the "params" or
> "userObject" parameters and the cvs commit that made this change gives no
> reason why it was made.  What is the use case supporting the additional
> parameters?  Should we go back to the original version that just takes a
> ResultSet?
> 
> David
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message