This notebook is a collection of code snippets and technical "how to" instructions.
DetachedCriteria dcSport = DetachedCriteria.forClass(PhraseSport.class); dcSport.add(Expression.eq("sport.id", phrase.getSportId())); List sports = hibernateList(dcSport);
DetachedCriteria dcSport = DetachedCriteria.forClass(PhraseSport.class);
dcSport.add(Expression.eq("sport.id", phrase.getSportId()));
List sports = hibernateList(dcSport);
No comments:
Post a Comment