public String lockTable(String txnLockTable, boolean shared) throws MetaException {
    return dbProduct.lockTable(txnLockTable, shared);
  }
Returns the SQL query to lock the given table name in either shared/exclusive mode
@param txnLockTable
@param shared
@return
@throws MetaException
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/tools/SQLGenerator.java