Open graemerocher opened 7 years ago
Hi All, In my project we have extensively used hibernate criteria, which has now deprecated in newer releases. I tried to replace the same with the JPA criteria but faced some below mentioned issues:
My question is when we already define in the entity class then why we needs to do these all extra things.
Please suggest the best solution on this, I didn't found any proper solution on this.
Regards, Nitin Jain
The Hibernate Criteria API has been deprecated in Hibernate. So we have to move to the JPA Criteria API in GORM.
This may be a good time to deprecate CriteriaBuilder and friends, recommending instead to use where queries and DetachedCriteria