@Deprecated // @deprecated in favour of {@link HCatPartition.#getDatabaseName()}. To be removed in Hive 0.16.
  public String getDatabaseName() {
    return hcatPartition == null? dbName : hcatPartition.getDatabaseName();
  }
Gets the database name.

@return the database name
hcatalog/webhcat/java-client/src/main/java/org/apache/hive/hcatalog/api/HCatAddPartitionDesc.java