/**
  * Sets the database connection locking-mode.
  *
  * @param mode Either NORMAL or EXCLUSIVE.
  * @see <a href="http://www.sqlite.org/pragma.html#pragma_locking_mode">
  *     http://www.sqlite.org/pragma.html#pragma_locking_mode</a>
  */
 public void setLockingMode(String mode) {
   config.setLockingMode(LockingMode.valueOf(mode));
 }