public int[] getStaticData() { int[] result = new int[4]; Clustering_Users_DAO dao = null; try { dao = new Clustering_Users_DAO(); dao.beginTransaction(); result = dao.getStaticsData(); dao.commitTransaction(); } catch (Exception ex) { dao.rollbackTransaction(); throw ex; } return(result); }