LineageNodeTypeDAO { public LineageNodeType get(int id) { Session session = sessionFactory.openSession(); session.beginTransaction(); LineageNodeType lineageNodeType = (LineageNodeType) session.get(LineageNodeType.class, id); session.getTransaction().commit(); session.close(); return lineageNodeType; }  List<LineageNodeType> list(Integer pageNum, Integer numResults); Integer totalRecordCount(); LineageNodeType get(int id); int insert(LineageNodeType lineageNodeType); void update(LineageNodeType lineageNodeType); void delete(int id);  }
@Ignore @Test public void testGet() throws Exception { LOGGER.info("LineageNodeType(0) typename:" + lineageNodeTypeDAO.get(Integer.valueOf(1)).getNodeTypeName()); }