WorkflowTypeDAO { public WorkflowType get(Integer id) { Session session = sessionFactory.openSession(); session.beginTransaction(); WorkflowType workflowType = (WorkflowType) session.get(WorkflowType.class, id); session.getTransaction().commit(); session.close(); return workflowType; }  List<WorkflowType> list(Integer pageNum, Integer numResults); Integer totalRecordCount(); WorkflowType get(Integer id); Integer insert(WorkflowType workflowType); void update(WorkflowType workflowType); void delete(Integer id);  }
@Ignore @Test public void testGet() throws Exception { LOGGER.info("WorkflowType(0) name:" + workflowTypeDAO.get(1).getWorkflowTypeName()); }