public List<String> listMyDBs(String owner,boolean restricted){
  Connection conn=null;
  try {
    conn=getConnection();
    return listMyDBs(conn,owner,restricted);
  }
 catch (  Exception ex) {
    logger.log(Level.SEVERE,"Exception",ex);
  }
 finally {
    DBUtils.close(conn);
  }
  return null;
}

public List < String > listMyDBs ( String owner , boolean restricted ) { Connection conn = null ; try { conn = getConnection ( ) ; return listMyDBs ( conn , owner , restricted ) ; } catch ( Exception ex ) { logger . log ( Level . SEVERE , "Exception" , ex ) ; } finally { DBUtils . close ( conn ) ; } return null ; }
list database groups the specific user has provided passwords
