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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to