how do i turn a vector of maps into a ResultSet? or something that can be bulk inserted using
(def bulk-copy (com.microsoft.sqlserver.jdbc.SQLServerBulkCopy. connection-string))
(.setDestinationTableName bulk-copy table-name)
(.writeToServer bulk-copy ...)
my approach now is to implement the interface myself, since i cannot find any libraries that go from raw data to resultset
only it’s too big
maybe i can use a CSV and insert SQLServerBulkCSVFileRecord
data is originally csv
but in-memory only
this example should work: https://myadventuresincoding.wordpress.com/2018/04/01/java-using-sqlserverbulkcopy-in-java-with-an-inputstream/