@Override
  public boolean createType(Type type) {
    boolean success = false;
    MType mtype = getMType(type);
    boolean commited = false;
    try {
      openTransaction();
      pm.makePersistent(mtype);
      commited = commitTransaction();
      success = true;
    } finally {
      rollbackAndCleanup(commited, null);
    }
    return success;
  }
Alter the dataconnector object in metastore. Currently only the parameters
of the dataconnector or the owner can be changed.
@param dcName the dataconnector name
@param connector the Hive DataConnector object
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java