This was add to fix another JUnit test (that was failing). JUnit test was expecting that this flag is false while use setFatchingDataRows. So I add it here, to didn't change previous behavior Maybe I didn't understand the meaning of SQLResult....
Evgeny. 2010/4/18 Andrus Adamchik <[email protected]>: > > On Apr 18, 2010, at 12:46 AM, [email protected] wrote: > >> public void setResult(SQLResult resultSet) { >> + setFetchingDataRows(false); // turn off mapping to DataRows, use >> explicit >> this.result = resultSet; >> } > > Implicit flipping of the DataRows flag outside constructor seems > counterintuitive. Also SQLResult is not equal to an object fetch. So I think > this is wrong. > > Andrus
