title: Doctrine DBAL + Sqlite 3
body: <p>I have a big problem with Doctrine DBAL &amp; Sqlite3</p>
  
  <p>Doctrine is Version v2.5.4</p>
  
  <p>I get the connection working and I even get the 'fetchAll()' results.
  But when I do one insert, i get that the table is locked.</p>
  
  <p>There is no other line of code - it justs load a long time and then I get this error:</p>
  
  <blockquote>
    <p>Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 5 database is locked' in </p>
  </blockquote>
  
  <p>I don't know how I can unlock the table or why this is even needed.
  Do I do something wrong?</p>
  
  <pre><code>include_once 'vendor/autoload.php';
  
  $config = new \Doctrine\DBAL\Configuration();
  $connectionParams = array(
      'path' =&gt; 'database.sqlite3',
      'driver' =&gt; 'pdo_sqlite'
  );
  $db = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
  
  echo "Test SQLITE 3 &lt;br&gt;";
  $data = $db-&gt;fetchAll("SELECT * FROM `table`");
  
  $db-&gt;insert('table',array('area' =&gt; 'test', 'hash' =&gt; 'test', 'link' =&gt; 'testurl'));
  </code></pre>