title: SQLite.NET PCL Busy Exception
body: <p>We are using the SQLite.NET PCL in a Xamarin application.</p>
  
  <p>When putting the database under pressure by doing inserts into multiple tables we are seeing BUSY exceptions being thrown.</p>
  
  <p>Can anyone explain what the difference is between BUSY and LOCKED? And what causes the database to be BUSY?</p>
  
  <p>Our code uses a single connection to the database created using the following code:</p>
  
  <pre><code>var connectionString = new SQLiteConnectionString(GetDefaultConnectionString(), 
                                                        _databaseConfiguration.StoreTimeAsTicks);
  var connectionWithLock = new SQLiteConnectionWithLock(new SQLitePlatformAndroid(), connectionString);
  
  return new SQLiteAsyncConnection (() =&gt; { return connectionWithLock; });
  </code></pre>