Fix copy & paste mistake and clarify example of slowdown for certain data types
This commit is contained in:
parent
8b9b6af023
commit
7a7c31ece4
1 changed files with 2 additions and 2 deletions
|
|
@ -122,9 +122,9 @@ MS SQL Server supports execution of multiple statements when surrounded by `begi
|
||||||
|
|
||||||
### Batch Statements
|
### Batch Statements
|
||||||
|
|
||||||
Even when using `next.jdbc/execute-batch!`, MySQL will still send multiple insert statements to the database unless you specify `:useBulkCopyForBatchInsert true` as part of the db-spec hash map or JDBC URL when the datasource is created.
|
Even when using `next.jdbc/execute-batch!`, Microsoft's JDBC driver will still send multiple insert statements to the database unless you specify `:useBulkCopyForBatchInsert true` as part of the db-spec hash map or JDBC URL when the datasource is created.
|
||||||
|
|
||||||
To use this feature your Microsoft's JDBC driver should be at least version 9.2 and you can use only limited set of data types. For example if you use `inst` to bulk insert data driver will revert to old (slow) behavior. For more details see [Using bulk copy API for batch insert operation](https://docs.microsoft.com/en-us/sql/connect/jdbc/use-bulk-copy-api-batch-insert-operation?view=sql-server-ver16) and [Release notes for JDBC drivers](https://docs.microsoft.com/en-us/sql/connect/jdbc/release-notes-for-the-jdbc-driver?view=sql-server-ver16).
|
To use this feature your Microsoft's JDBC driver should be at least version 9.2 and you can use only limited set of data types. For example if you use `inst` to bulk insert smalldatetime value driver will revert to old (slow) behavior. For more details see [Using bulk copy API for batch insert operation](https://docs.microsoft.com/en-us/sql/connect/jdbc/use-bulk-copy-api-batch-insert-operation?view=sql-server-ver16) and [Release notes for JDBC drivers](https://docs.microsoft.com/en-us/sql/connect/jdbc/release-notes-for-the-jdbc-driver?view=sql-server-ver16).
|
||||||
|
|
||||||
## MySQL & MariaDB
|
## MySQL & MariaDB
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue