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

resultSet.next() error [JDBC157] #200

Closed
firebird-automations opened this issue Jun 20, 2010 · 3 comments
Closed

resultSet.next() error [JDBC157] #200

firebird-automations opened this issue Jun 20, 2010 · 3 comments

Comments

@firebird-automations
Copy link

Submitted by: Henner Kollmann (hkollmann)

Assigned to: Roman Rokytskyy (rrokytskyy)

It seems that there is a bug in resultSet.next(). After
resultSet.next() returns false, if executed again returns
an exeception is thrown.

This is not the behavior of all other tested jdbc drivers: Oracle and JdbcOdbcDriver.

They just returns false again.

@firebird-automations
Copy link
Author

Modified by: Roman Rokytskyy (rrokytskyy)

timeestimate: 0 [ 0 ]

timeoriginalestimate: 0 [ 0 ]

@firebird-automations
Copy link
Author

Commented by: Roman Rokytskyy (rrokytskyy)

From the Javadoc for ResultSet.next()

"If the result set type is TYPE_FORWARD_ONLY, it is vendor specified whether their JDBC driver implementation will return false or throw an SQLException on a subsequent call to next."

Frankly, I have nothing against making subsequent call to return false, but please add appropriate feature request.

@firebird-automations
Copy link
Author

Modified by: Roman Rokytskyy (rrokytskyy)

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Won't Fix [ 2 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant