Using this: https://docs.microsoft.com/en-us/sql/connect/jdbc/using-bulk-copy-with-the-jdbc-driver The driver is open source, so the bulk loader implementation can be included in the main jar.