-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incident#567732673 - Add provision to set SQLServerBulkCopy options i…
…n PreparedStatement (#2555) * Add provision to set SQLServerBulkCopy options in PreparedStatement * Reanmed test * Renamed bcCopyOptions to bcOptions * Fixed indentation * Fail the test that enables consraint checking when exception is not thrown * Added connection string options for all the available bulk copy options * Added test case for bulkCopyOptionDefaultsBatchSize, bulkCopyOptionDefaultsKeepIdentity and bulkCopyOptionDefaultsTableLock * Added test case for bulkCopty options in Prepared Statement * Updated failures in test case * Added test case testBulkCopyOptionDefaultsTimeoutLowerValue * Added test case for bulkCopyOptionDefaultsAllowEncryptedValueModifications * Fixed failures * Added test scenario for bulkCopyOptionDefaultsAllowEncryptedValueModifications * Improved messages. * Remove the setBulkCopyOptions method from PreparedStatement -Since the change has added connection string options for setting various bulk copy options, this non-standard API is not needed. * Fixed indent issue. * Update name for bulk copy batchSize option * Update name for bulk copy timeout option * Update name for bulk copy check constraints option * Update name for bulk copy fireTrigger, keepIdentity, keepNulls, tableLock, internalTrnsaction, encrptedValue options * Remove timeout option as configured already in bulk copy option * Updated value of bulkCopyForBatchInsertTimeout to 60s * Removed timeout and internal transaction option * removed local changes --------- Co-authored-by: muskan124947 <[email protected]> Co-authored-by: Divang Sharma <[email protected]>
- Loading branch information
1 parent
2a3d372
commit 5b2cd71
Showing
11 changed files
with
1,533 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.