Skip to content

jdbc: Support Connection.prepareStatement(sql, Statement.NO_GENERATED_KEYS) #78

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

Closed
Totktonada opened this issue Nov 1, 2018 · 0 comments
Assignees
Labels
bug Something isn't working jdbc
Milestone

Comments

@Totktonada
Copy link
Member

We should not raise SQLFeatureNotSupportedException is the case of the 2nd parameter is Statement.NO_GENERATED_KEYS.

@Totktonada Totktonada added bug Something isn't working jdbc labels Nov 1, 2018
@Totktonada Totktonada added this to the JDBC MVP milestone Nov 1, 2018
nicktorwald added a commit that referenced this issue Apr 9, 2019
Add a proper behaviour when Connection.prepareStatement,
Statement.execute, and Statement.executeUpdate are called with the
Statement.NO_GENERATED_KEYS flag.

Return an empty generated keys when the Statement.NO_GENERATED_KEYS is
set as a special case of a generated keys absence.

Fixes: #78
nicktorwald added a commit that referenced this issue Apr 9, 2019
Add a proper behaviour when Connection.prepareStatement,
Statement.execute, and Statement.executeUpdate are called with the
Statement.NO_GENERATED_KEYS flag.

Return an empty generated keys when the Statement.NO_GENERATED_KEYS is
set as a special case of a generated keys absence.

Fixes: #78
@nicktorwald nicktorwald self-assigned this Apr 9, 2019
nicktorwald added a commit that referenced this issue Apr 17, 2019
Add a proper behaviour when Connection.prepareStatement,
Statement.execute, and Statement.executeUpdate are called with the
Statement.NO_GENERATED_KEYS flag.

Return an empty generated keys when the Statement.NO_GENERATED_KEYS is
set as a special case of a generated keys absence.

Fixes: #78
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working jdbc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants