ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Bayon" <ibatis....@gmail.com>
Subject Re: IBATISNET-167, IBATISNET-170, IBATISNET-172
Date Wed, 19 Jul 2006 06:45:18 GMT
When you are 'using() block' you can pass the dataReader by ref.
To resolve IBATISNET-172<http://issues.apache.org/jira/browse/IBATISNET-172>
and
improve IDataReader memory transformation, I need to pass the dataReader by
ref to the result strategy, so I replace the using block by a try catch with
indeed is the same.

We need it because it there is an exception in the result strategy the
IDataReader must be close, this was done by the using block and now by the
try/catch/finally.

do we need the catch, I don't know be but in doubt.

Mime
View raw message