Skip to content

Conversation

@gdarmont
Copy link
Contributor

…nds is used

* Removes redundant isClosed() check. This check is done by fetchNextObjectFromDatabase(). Having redundant checks leads to the bug describe in issue mybatis#660.
* Added more tests to check behaviors when using iterator.next() with or without a previous hasNext() call.
@emacarron emacarron merged commit 3176cb8 into mybatis:master Apr 25, 2016
@emacarron emacarron added the bug label Apr 25, 2016
@emacarron emacarron added this to the 3.4.1 milestone Apr 25, 2016
@emacarron emacarron self-assigned this Apr 25, 2016
pulllock pushed a commit to pulllock/mybatis-3 that referenced this pull request Oct 19, 2023
Fixes mybatis#660 : Can not fetch an object from Cursor when a RowBounds is used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants