public DBInstanceInfo retrieveDBInfo(String dbGroupName,String hostName){
  Connection conn=null;
  try {
    conn=createConnection(true);
    return retrieveDBInfo(conn,dbGroupName,hostName);
  }
 catch (  Exception ex) {
    logger.log(Level.SEVERE,"Exception",ex);
  }
 finally {
    DBUtils.close(conn);
  }
  return null;
}

public DBInstanceInfo retrieveDBInfo ( String dbGroupName , String hostName ) { Connection conn = null ; try { conn = createConnection ( true ) ; return retrieveDBInfo ( conn , dbGroupName , hostName ) ; } catch ( Exception ex ) { logger . log ( Level . SEVERE , "Exception" , ex ) ; } finally { DBUtils . close ( conn ) ; } return null ; }
retrieve a database entry identified by a dbgroupname and hostname
