title: OrmLite multithreading
body: <p>I need to have an access to helper not only from Activities, but, for example, from BroadcastReceivers and AsyncTasks. Am I right, that if I am using OrmLiteBaseActivity to approach it is to use this methods:</p>
  
  <pre><code>OpenHelperManager.getHelper(context, DatabaseHelper.class);
  OpenHelperManager.releaseHelper();
  </code></pre>
  
  <p>inside not Activity classes?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I understand that helper lifecycle is handled by <code>OrmLiteBaseActivity</code>. What I am asking is how to handle helper lifecycle outside of activities. For example, I need an access to database from <code>BroadcastReceiver</code> or <code>AsyncTask</code>. Is it a right way to achieve this using <code>OpenHelperManager.getHelper(context, DatabaseHelper.class);</code>, when I am starting some database stuff in another thread, and <code>OpenHelperManager.releaseHelper();</code>, when I've done all database work and want to release helper?</p>