-
Notifications
You must be signed in to change notification settings - Fork 433
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
getGeneratedKeys() is not working after executeBatch() is called #358
Comments
Hello @utenakr, it seems like the issue you created is different from #245. Did you get the following error?
On JDBC specification it says
This feature is optional and did not implemented in the driver. I will confirm with our team and see when we can have a timeline for getGeneratedKeys after calling executeBatch method. Will keep you updated. Thanks. |
I need support for getGeneratedKeys() on executeBatch() defined according to the JDBC spec. Our code is shared with other JDBC drivers, and we found our code is not working with MS-SQL Server JDBC.
I try to work around with replacing executeBatch() with executeUpdate(), but I am afraid this will lead to overhead to MS-SQL server. I need to implement getGeneratedKey() after executeBatch() is called with rollback compatibility.
If you have a workaround with my use case, that would be great!
Thank you,
Ji Sun
The text was updated successfully, but these errors were encountered: