Bulk insert
Arthur McGibbon
arthur.mcgibbon at gmail.com
Wed Oct 10 10:06:40 UTC 2018
Hi
Would it be possible to add bulk insert functionality to the spec?
Many drivers already implement this in their own way. Their procedure is
generally to define the column metadata, define some properties about the
table (e.g. locking) and then fire a stream at it.
For reference...
MS SQL: com.microsoft.sqlserver.jdbc.SQLServerBulkCopy
PostgreSQL:org.postgresql.copy.CopyManager
MySQL:com.mysql.cj.jdbc.StatementImpl#setLocalInfileInputStream
regards
Arthur
More information about the jdbc-spec-discuss
mailing list