commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject [dbutils] ResultSetHandler.handle() method
Date Wed, 22 Oct 2003 16:10:15 GMT
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


Mime
View raw message