"--Begin AssigningAuthorityHomeCommunityMappingDAO.getAllCommunityIdsForAllAssigningAuthorities() ---");
String homeCommunity = "";
if (assigningAuthority != null && !assigningAuthority.isEmpty()) {
Session sess = null;
SessionFactory fact = getSessionFactory();
<BUG>try {
sess = fact.openSession();
if (sess != null) {</BUG>
Query namedQuery = sess.getNamedQuery("findAAByAAId");
namedQuery.setParameter("assigningAuthorityId", assigningAuthority);

"--Begin AssigningAuthorityHomeCommunityMappingDAO.getAllCommunityIdsForAllAssigningAuthorities() ---");
String homeCommunity = "";
if (assigningAuthority != null && !assigningAuthority.isEmpty()) {
Session sess = null;
SessionFactory fact = getSessionFactory();
try {
if (fact != null) {
sess = fact.openSession();
Query namedQuery = sess.getNamedQuery("findAAByAAId");
namedQuery.setParameter("assigningAuthorityId", assigningAuthority);
