private static void decreaseAccountBalance(PreparedStatement updateAccountStatement, ResultSet account, BigDecimal amount) throws SQLException {
      BigDecimal accountBalance = account.getBigDecimal("balance");
      updateAccountStatement.setBigDecimal(1, accountBalance.subtract(amount));
      updateAccountStatement.setLong(2, account.getLong("version") + 1);
      updateAccountStatement.setLong(3, account.getLong("account_id"));
      updateAccountStatement.setLong(4, account.getLong("version"));
  }