@Override
  public SqlParameterSource getQueryParameters() {
    return new MapSqlParameterSource().addValue("extLockId", extLockId);
  }
NEVER call this function without first calling heartbeat(long, long)
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/jdbc/queries/GetLocksByLockId.java