-
Notifications
You must be signed in to change notification settings - Fork 430
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
Incident#567732673 - Add provision to set SQLServerBulkCopy options in PreparedStatement #2555
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2555 +/- ##
============================================
+ Coverage 51.01% 51.29% +0.28%
- Complexity 3921 3968 +47
============================================
Files 147 147
Lines 33483 33669 +186
Branches 5609 5628 +19
============================================
+ Hits 17081 17272 +191
+ Misses 13991 13980 -11
- Partials 2411 2417 +6 ☔ View full report in Codecov by Sentry. |
…faultsKeepIdentity and bulkCopyOptionDefaultsTableLock
Added tests for all the options in BatchExecutionWithBCOptionsTest |
src/main/java/com/microsoft/sqlserver/jdbc/SQLServerBulkCopyOptions.java
Show resolved
Hide resolved
src/main/java/com/microsoft/sqlserver/jdbc/SQLServerResource.java
Outdated
Show resolved
Hide resolved
src/main/java/com/microsoft/sqlserver/jdbc/SQLServerDataSource.java
Outdated
Show resolved
Hide resolved
src/main/java/com/microsoft/sqlserver/jdbc/SQLServerDriver.java
Outdated
Show resolved
Hide resolved
...est/java/com/microsoft/sqlserver/jdbc/preparedStatement/BatchExecutionWithBCOptionsTest.java
Outdated
Show resolved
Hide resolved
...est/java/com/microsoft/sqlserver/jdbc/preparedStatement/BatchExecutionWithBCOptionsTest.java
Show resolved
Hide resolved
...est/java/com/microsoft/sqlserver/jdbc/preparedStatement/BatchExecutionWithBCOptionsTest.java
Outdated
Show resolved
Hide resolved
...est/java/com/microsoft/sqlserver/jdbc/preparedStatement/BatchExecutionWithBCOptionsTest.java
Outdated
Show resolved
Hide resolved
...est/java/com/microsoft/sqlserver/jdbc/preparedStatement/BatchExecutionWithBCOptionsTest.java
Outdated
Show resolved
Hide resolved
-Since the change has added connection string options for setting various bulk copy options, this non-standard API is not needed.
src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java
Outdated
Show resolved
Hide resolved
src/main/java/com/microsoft/sqlserver/jdbc/SQLServerResource.java
Outdated
Show resolved
Hide resolved
…Lock, internalTrnsaction, encrptedValue options
src/main/java/com/microsoft/sqlserver/jdbc/SQLServerPreparedStatement.java
Show resolved
Hide resolved
ADO pipeline is green post merging this changeset |
Description:
Add provision to set SQLServerBulkCopyOptions in PreparedStatement via
-new connection string options
-a new method setBulkCopyOptions
Testing: