Add withTransaction
DatabaseFactory.withTransaction