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

Statement.close() violates JDBC spec by throwing SQLException when already closed [JDBC183] #230

Closed
firebird-automations opened this issue Sep 2, 2011 · 5 comments

Comments

@firebird-automations
Copy link

Submitted by: @mrotteveel

Currently calling Statement.close() when the Statement has already been closed throws an SQLException. This is in violation of the JDBC spec, as the Javadoc of Statement.close() (of Java 6) states:
"Calling the method close on a Statement object that is already closed has no effect."

Commits: 2e357c6 ad93381

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

Already have a fix ready in my workspace

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

assignee: Roman Rokytskyy [ rrokytskyy ] => Mark Rotteveel [ avalanche1979 ]

Version: Jaybird 2.1.6 [ 10285 ]

Fix Version: Jaybird 2.2 [ 10053 ]

Component: JDBC driver [ 10053 ]

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

Committed fix

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

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

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

status: Resolved [ 5 ] => Closed [ 6 ]

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

2 participants