LineageNodeDAO { public LineageNode get(String id) { Session session = sessionFactory.openSession(); session.beginTransaction(); LineageNode lineageNode = (LineageNode) session.get(LineageNode.class, id); session.getTransaction().commit(); session.close(); return lineageNode; }  List<LineageNode> list(Integer pageNum, Integer numResults); Integer totalRecordCount(); LineageNode get(String id); List<LineageNode> getTableNode(String tableName); String getContainerDot(String nodeid); String insert(LineageNode lineageNode); LineageNode getColNodeId(String colName, LineageNode tableNode); void update(LineageNode lineageNode); void delete(String id);  }
@Test @Ignore public void testGet() throws Exception { LOGGER.info("LineageNode(0) Insert Time is :" + lineageNodeDAO.get("Test1").getInsertTs()); }