@Override
  public String toString() {
    return "HCatDatabase ["
      + (dbName != null ? "dbName=" + dbName + ", " : "dbName=null")
      + (dbLocation != null ? "dbLocation=" + dbLocation + ", " : "dbLocation=null")
      + (comment != null ? "comment=" + comment + ", " : "comment=null")
      + (props != null ? "props=" + props : "props=null") + "]";
  }
Gets the dB properties.

@return the dB properties
hcatalog/webhcat/java-client/src/main/java/org/apache/hive/hcatalog/api/HCatDatabase.java