Closed marcjansen closed 10 years ago
The other generic DAO methods all have
criteria.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY);
to avoid cartesian products when fetching database entites. The method getEntitesByStringFields lacked that line.
getEntitesByStringFields
Please review.
LGTM, thx @marcjansen
The other generic DAO methods all have
to avoid cartesian products when fetching database entites. The method
getEntitesByStringFields
lacked that line.Please review.