Can i insert a jTable vector data into MSSQL through JDBC in some easy fashion? Like just send the entire vector in an insert statement to the JDBC for insertion?
// Get all the table data
DefaultTableModel mtableSearch = (DefaultTableModel) tableSearch.getModel();
Vector data = mtableSearch.getDataVector();
Apache DBUtils would be a good place to start. Look at QueryRunner.batch(). You’ll need to convert the Vector of Vectors from getDataVector to an
Object[][].