title: Using multiple database helpers in Android OrmLite
body: <p>My app uses two databases. To handle these databases I have created two <code>DatabaseHelper</code> classes, say class <code>X</code> and class <code>Y</code>. </p>
  
  <p>I use the respective <code>getHelper()</code> methods to fetch the required database helper.</p>
  
  <p>But when the initial helper is <code>X</code> and I need <code>Y</code>, I use this following code:</p>
  
  <pre><code>OpenHelperManager.releaseHelper();
  dbHelper = OpenHelperManager.getHelper(context, Y.class)
  </code></pre>
  
  <p>And I get the following exception:</p>
  
  <pre><code>java.lang.IllegalStateException: Helper class was class X but is trying to be reset to class Y
  </code></pre>
  
  <p>I know that in OrmLite we can use a single instance of the helper with 1 database connection, and I don't think I am violating that rule. Can anyone help here, please?</p>