RsIterator: Why are exceptions from ResultSet.next() ignored?

2004-10-06 Thread Gerhard Grosse
Hi, When during a query against a DB2 database a statement or lock timeout occurs, an SQLException is thrown, as expected. However the exception is not thrown from Statement.executeQuery but rather from ResultSet.next(), when the cursor moves to the record that could not be retrieved any more.

Re: RsIterator: Why are exceptions from ResultSet.next() ignored?

2004-10-06 Thread Armin Waibel
Hi Gerhard, Is there a specific reason not to throw a PersistenceBrokerException that wraps SQLExceptions from ResultSet.next() in RsIterator? I can't find a reason not to apply your patch (test-suite pass), seems you bag a bug ;-) Thanks! regards, Armin Gerhard Grosse wrote: Hi, When during