Homec4science
Diffusion YCSB f79a40e7dd55

[jdbc] support JDBC option to rewrite batch statement to multi-row insert…

Authored by Robert S Lee <sangkyulee@gmail.com> on Aug 27 2018, 17:59.

Description

[jdbc] support JDBC option to rewrite batch statement to multi-row insert (#1220)

  • [jdbc] support JDBC option to rewrite batch statement to multi-row insert

batch statement int[] results = insertStatement.executeBatch() returns 1 for successful completion. when the batch statement is re-written to multi-row insert, SUCCESS_NO_INFO (-2) is returned instead. This change expands allowable results values to be 1 AND -2

  • [jdbc] note on rewriting batch insert to multi-row

Details

Committed
Sean Busbey <sean.busbey@gmail.com>Aug 27 2018, 17:59
Pushed
iorgulescuOct 2 2018, 18:02
Parents
R7507:d1a8a6949c0a: Merge pull request #1217 from stutiredboy/master
Branches
Unknown
Tags
Unknown

Event Timeline

Sean Busbey <sean.busbey@gmail.com> committed R7507:f79a40e7dd55: [jdbc] support JDBC option to rewrite batch statement to multi-row insert… (authored by Robert S Lee <sangkyulee@gmail.com>).Aug 27 2018, 17:59