exc.setSummary(summarys[0]);
report.setComponent("comp1");
report.setSubcomponent("subcomp1");
exc.setReportId(report);
Comment comment = new Comment();
comment.setComment("comment 1");
persUtil.persist(report);
persUtil.persist(exc);
exc = new Exceptions();
report = new Report();
report.setId(2);
exc.setId(2);
exc.setSummary(summarys[1]);
report.setComponent("comp1");
report.setSubcomponent("subcomp1");
exc.setReportId(report);
comment = new Comment();
comment.generateId();
comment.setComment("comment 2");
persUtil.persist(report);
persUtil.persist(exc);
exc = new Exceptions();
report = new Report();
report.setId(3);
exc.setId(new Integer(3));
exc.setSummary(summarys[2]);
report.setComponent("comp2");
report.setSubcomponent("subcomp2");
exc.setReportId(report);
comment = new Comment();
comment.setComment("comment 3");
comment.generateId();
persUtil.persist(report);
persUtil.persist(exc);
List<Exceptions> excList = persUtil.getAll(Exceptions.class);