Use withLock{} in JdbcDatabase

1 job for !53 with 78-deadlock in 4 minutes and 23 seconds (queued for 7 seconds)
latest detached
Status Name Job ID Coverage
  Test
passed test #14712

00:04:23