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