Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #660 : Can not fetch an object from Cursor when a RowBounds is used #667

Merged
merged 1 commit into from
Apr 25, 2016

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.

None yet

2 participants