visruth opened a new pull request #7: get generated keys from 
queryRunner.insertBatch
URL: https://github.com/apache/commons-dbutils/pull/7
 
 
   This class will be useful to get generated keys from the 
queryRunner.insertBatch operation.
   
   Eg:-
   ```
      ResultSetHandler<List<Long>> rsh = new ScalarListHandler<Long>();
      Object[][] params = {{"col1row1", "col2row1"}, {"col1row2", "col2row2"}};
      List<Long> ids = queryRunner.insertBatch("INSERT INTO testtable (col1, 
col2) VALUES (?,?)", rsh, 
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to