LineageQueryTypeDAO { public LineageQueryType get(int id) { Session session = sessionFactory.openSession(); session.beginTransaction(); LineageQueryType lineageQueryType = (LineageQueryType) session.get(LineageQueryType.class, id); session.getTransaction().commit(); session.close(); return lineageQueryType; }  List<LineageQueryType> list(Integer pageNum, Integer numResults); Integer totalRecordCount(); LineageQueryType get(int id); int insert(LineageQueryType lineageQueryType); void update(LineageQueryType lineageQueryType); void delete(int id);  }
@Ignore @Test public void testGet() throws Exception { LOGGER.info("LineageQueryType(0) type name :" + lineageQueryTypeDAO.get(Integer.valueOf(1)).getQueryTypeName()); }