/**
  * 
  * @param Zend_Db_Adapter_Abstract $dbAdapter
  * @param string $tableVersion
  * @param string $version
  * @return type
  */
 protected function _setVersion($dbAdapter, $tableVersion, $version = 0)
 {
     $query = new EhrlichAndreas_Db_Insert($dbAdapter);
     $query->into($tableVersion);
     $query->insert('num', $version);
     $sql = $query->assemble();
     try {
         $stmt = $dbAdapter->query($sql);
         $result = $stmt->rowCount();
     } catch (Exception $e) {
         $result = false;
     }
     if ($result) {
         $this->version = $version;
     }
     return $result;
 }