@SuppressWarnings("unchecked")
public AdvisoryDetailsComposite loadAdvisoryDetailsComposite(Subject user, Integer advisoryId) {
Query q = entityManager.createNamedQuery(Advisory.QUERY_FIND_COMPOSITE_BY_ID);
q.setParameter("id", advisoryId);
AdvisoryDetailsComposite results = (AdvisoryDetailsComposite) q.getSingleResult();
return results;
}