dynamic « Criteria « JPA Q&A





1. GORM: ilke and inList combination    stackoverflow.com

In Grails, with DynamicFinder how can we execute a query using ilike along with inList? Or can we use CriteriaBuilder to combine ilike and inList? Thank you!

2. Dynamic HQL/Criteria Problem    forum.hibernate.org

Newbie Joined: Thu Jan 12, 2006 9:41 am Posts: 15 Location: France Hi, I need some help to write my HQL query. I use a criteria to execute a dynamic query. I'd like to find all users who belong to a GEH. I have the following code: Code: public List listingUsersBySearch(UsrUser usrUser, Integer idSiteProd, Integer idUp, ...