title: Zend: Accessing model from Bootstrap raises an exception
body: <p>This is the code I have in Bootstrap:</p>
  
  <pre><code>public function _initRegistry()
  {
      $systemConfigModel = new Application_Model_DbTable_SystemConfig();
      Zend_Registry::set('config', $systemConfigModel-&gt;getSystemConfig());
  }
  </code></pre>
  
  <p>And this an exception I am getting:</p>
  
  <pre><code>( ! ) Fatal error: Uncaught exception 'Zend_Db_Table_Exception' with message 'No adapter found for Application_Model_DbTable_SystemConfig' in /usr/share/php5/Zend/Db/Table/Abstract.php on line 755
  ( ! ) Zend_Db_Table_Exception: No adapter found for Application_Model_DbTable_SystemConfig in /usr/share/php5/Zend/Db/Table/Abstract.php on line 755
  </code></pre>
  
  <p>It works just fine if I call it within my <code>BaseController</code>. It just looks like the PDO adapter that I specify in <code>application.ini</code> has not been initialized at the time Bootstrap is executed (strange?). What should I do to make the code work in Bootstrap? Is it necessary to create and set an adapter with Zend_Db_Table::setDefaultAdapter();?</p>
  
  <p>I am asking because if the code is not in Bootstrap, it needs to be duplicated in two different places and it also kind of looks like it belongs to Bootstrap.</p>