Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package sk.seges.acris.reporting.rpc.dao;
 
 import java.util.List;
 
 
	protected ReportDescriptionDao() {
		super(ReportDescription.class);
	}
	@PersistenceContext(unitName = "acrisEntityManagerFactory")
	public void setEntityManager(EntityManager em) {
		super.setEntityManager(em);
	}
	/* (non-Javadoc)
	 * @see sk.seges.hroddelenie.dao.reporting.IReportDescription#findById(java.lang.Long)
	 */
		criteria.add(Restrictions.eq(.id));
		return findUniqueResultByCriteria(criteria);
	}
	@SuppressWarnings("unchecked")
		criteria.add(Restrictions.eq(.name));
	}
New to GrepCode? Check out our FAQ X