aliasToBean « Criteria « JPA Q&A





1. Hibernate Criteria Transformers.aliasToBean is not populating correct values    stackoverflow.com

I am trying to create BO by joining my entity classes

Criteria criteria = session.createCriteria(Report.class,"r");
    criteria
    .createAlias("template", "t")
    .createAlias("constituents", "rc")
    ...