title: Should I use beginTransaction() and endTransaction() both in insert() and bulkInsert()?
body: <p>I am working on an Android application in which I am using Content Provider. I am overriding the <strong>insert()</strong> and <strong>bulkInsert()</strong> methods. </p>
  
  <p>I will use <strong>insert()</strong> and <strong>bulkInsert()</strong> in different scenarios. 
  I know <strong>bulkInsert()</strong> uses <strong>insert()</strong> internally.</p>
  
  <p>I need the transactions to be atomic.   Should I use <strong>beginTransaction()</strong> and <strong>endTransaction()</strong> in <em>both</em> <strong>insert</strong> and <strong>bulkInsert</strong>?</p>