ExecStatusDAO { public ExecStatus get(Integer id) { Session session = sessionFactory.openSession(); session.beginTransaction(); ExecStatus execStatus = (ExecStatus) session.get(ExecStatus.class, id); session.getTransaction().commit(); session.close(); return execStatus; }  List<ExecStatus> list(Integer pageNum, Integer numResults); Long totalRecordCount(); ExecStatus get(Integer id); Integer insert(ExecStatus execStatus); void update(ExecStatus execStatus); void delete(Integer id);  }
@Ignore @Test public void testGet() throws Exception { LOGGER.info("Description of ExecStatusId(1) is:" + execStatusDAO.get(1).getDescription()); }