commit | d8090dc8a4d88c497b30320b913135296f6e6662 | [log] [tgz] |
---|---|---|
author | Bruce Zu <bruce.zu@sonymobile.com> | Fri Dec 13 17:09:11 2013 +0800 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Wed Jun 25 11:10:30 2014 +0000 |
tree | fc40eca354c8fdb658502d55f42c49f837fce641 | |
parent | c527b378f3c34ec75fd5b2051df19bec6d97de69 [diff] |
Executing CherryPick.writeCherryPickCommit() in a transaction. This would at least allow the partial changes to the database to rollback and not get users in a bad state when e.g. in the case of OrmDuplicateKeyException: patch_set_ancestors'. Bug: issue 2034 Bug: issue 2246 Change-Id: I65e111bedc3cec033299b5b5360aaee733d4b5c6 (cherry picked from commit eb4778d079e7156c82d04c2f26c71ca89d12df16)