public List <DITableSourceType> getTableSourceTypes() { DI_DAO dao = null; List <DITableSourceType> list = null; try { dao = new DI_DAO(); dao.beginTransaction(); list = dao.getTableSourceType(); dao.commitTransaction(); } catch (Exception ex) { dao.rollbackTransaction(); throw ex; } return(list); }