title: Transactions in GreenDao
body: <p>I'm using <strong>GreenDao</strong> to store a lot of data, coming from a <strong>REST service</strong>.</p>
  
  <p>A lot of my entities are connected with relations.
  Everything works great, but tomorrow I have to implement a rocksolid workflow.</p>
  
  <p>When I load my data I have to <strong>check if an error occurs</strong>.
  If so, I have to make sure <strong>nothing is stored</strong> in the SQLite DB.</p>
  
  <p>Normally I would work with <strong>transactions</strong> and <strong>rollback</strong> in case of an exception,
  otherwise commit to the db.</p>
  
  <p>For now I just use insertordelete to save an entity, everytime I created an object.</p>
  
  <p>What would be the <strong>way to implement</strong> this?</p>