Clover Coverage Report - itracker
Coverage timestamp: Tue May 1 2012 16:42:12 CEST
6   31   4   3
0   22   0.67   2
2     2  
1    
 
 
  ReportDAOImpl       Line # 11 6 4 0% 0.0
 
No Tests
 
1    package org.itracker.persistence.dao;
2   
3    import java.util.List;
4   
5    import org.hibernate.HibernateException;
6    import org.itracker.model.Report;
7   
8    /**
9    *
10    */
 
11    public class ReportDAOImpl extends BaseHibernateDAOImpl<Report>
12    implements ReportDAO {
13   
 
14  0 toggle public Report findByPrimaryKey(Integer id) {
15  0 try {
16  0 return (Report)getSession().get(Report.class, id);
17    } catch (HibernateException ex) {
18  0 throw convertHibernateAccessException(ex);
19    }
20    }
21   
 
22  0 toggle @SuppressWarnings("unchecked")
23    public List<Report> findAll() {
24  0 try {
25  0 return getSession().getNamedQuery("ReportsAllQuery").list();
26    } catch (HibernateException ex) {
27  0 throw convertHibernateAccessException(ex);
28    }
29    }
30   
31    }