ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject Re: IBATISNET-167, IBATISNET-170, IBATISNET-172
Date Wed, 19 Jul 2006 16:30:10 GMT
Was this the actual fix for IBATISNET-172...removing the call to
ToUpper()?

http://tinyurl.com/qst4e
http://svn.apache.org/viewvc/ibatis/trunk/cs/mapper/IBatisNet.DataMapper/MappedStatements/ReaderAutoMapper.cs?p2=%2Fibatis%2Ftrunk%2Fcs%2Fmapper%2FIBatisNet.DataMapper%2FMappedStatements%2FReaderAutoMapper.cs&p1=%2Fibatis%2Ftrunk%2Fcs%2Fmapper%2FIBatisNet.DataMapper%2FMappedStatements%2FReaderAutoMapper.cs&r1=423230&r2=423229&view=diff&pathrev=423230

--- Gilles Bayon <ibatis.net@gmail.com> wrote:

> 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