code: @Override
      public void store(final Connection connection) throws SQLException {
          try(PreparedStatement statement = connection.prepareStatement(query)) {
              ResultSet result = statement.executeQuery();
              if (result.next()) {
                  long value = result.getLong(1);
                  try(PreparedStatement update = connection.prepareStatement(UPDATE)) {
                      update.setLong(1, value);
                      update.executeUpdate();
                      connection.commit();
                  }
              }
          }
      }
docs: {@inheritDoc}