sql 2023-09-20

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