ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Commented: (IBATIS-226) Support Commons DBUtils ResultSetHandler
Date Sun, 20 Nov 2005 13:04:26 GMT
    [ http://issues.apache.org/jira/browse/IBATIS-226?page=comments#action_12358082 ] 

Larry Meadors commented on IBATIS-226:

I do not see any reason to add a dependency on DBUtils. Nothing against DBUtils, just that
we are very opposed to adding unneeded dependencies into iBATIS because of the management
nightmare they become (i.e., what version do we support / require?).

However, I do agree that we do need to support a more event-driven extensibility model in
version 3.x of iBATIS.

> Support Commons DBUtils ResultSetHandler
> ----------------------------------------
>          Key: IBATIS-226
>          URL: http://issues.apache.org/jira/browse/IBATIS-226
>      Project: iBatis for Java
>         Type: New Feature
>   Components: SQL Maps
>     Reporter: Paul Benedict

> Sometimes I need total control over the caching mechanism for very critical systems.
I need to also guarantee object identity and I can only do this when handling the result set
myself. I propose adding an attribute to the <statement> tag (and also <select>,
<insert>, <update>) that will specify a subclass of ResultSetHandler so that I
may write custom code and decode the ResultSet myself. The ResultSetHandler class is part
of the Jakarta Commons DBUtils package. It is extremely useful!
> <select id="findMyObject" resultSetHandler="com.company.MyResultSetHandler">
> To prevent excess object creation, IBATIS must reuse the same instance it creates. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message