LineageQueryDAO { public LineageQuery get(String id) { Session session = sessionFactory.openSession(); session.beginTransaction(); LineageQuery lineageQuery = (LineageQuery) session.get(LineageQuery.class, id); session.getTransaction().commit(); session.close(); return lineageQuery; }  List<LineageQuery> list(Integer pageNum, Integer numResults); List<LineageQuery> listAll(); List<LineageQuery> getLastInstanceExecLists(Integer processId); Integer totalRecordCount(); LineageQuery get(String id); String insert(LineageQuery lineageQuery); void update(LineageQuery lineageQuery); void delete(String id);  }
@Test @Ignore public void testGet() throws Exception { LOGGER.info("LineageQuery(0) Create time :" + lineageQueryDAO.get("Test1").getCreateTs()); }