-
Notifications
You must be signed in to change notification settings - Fork 427
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
[FEATURE REQUEST] Set Bulk Copy options via connection string #2465
Comments
@Jeffery-Wasty, is it a good idea in general (parse |
I'm a bit confused about this request. Why are you not able to set |
We are using ETL tools (for example, Apache NiFi) that are database agnostic and are integrated with databases using standard JDBC API only:
So, there's no way for us to set or pass custom SQLServerBulkCopyOptions. Now, when
That means that this approach (enabling Bulk Copy via I see 2 options here:
|
I see, thank you for the explanation. We'll add this as a feature request and discuss it during our next semester planning. |
Is your feature request related to a problem? If so, please give a short summary of the problem and how the feature would resolve it
Using
useBulkCopyForBatchInsert
is super convinient, when we need to enable bulk insert while using 3rd party tools integrated via standard JDBC API (prepared statements). Unfortunately we faced a situation, where target tables have some constraints. The only option in this case is to use non-standardSQLServerBulkCopy
+SQLServerBulkCopyOptions
APIs that is not available for us.Describe the preferred solution
It would be great if
SQLServerPreparedStatement
could parseSQLServerBulkCopyOptions
properties from connection string.Describe alternatives you've considered
Request 3rd party tool developers to create separate implementation for MS SQL server databases that would be integrated with low-level bulk copy API.
Additional context
N/A
Reference Documentations/Specifications
N/A
Reference Implementation
N/A
The text was updated successfully, but these errors were encountered: