Hi,
How to use createCriteria for subQuery . My HQL is like this :
def lists = List.executeQuery("FROM List cl WHERE cl.brand_id in (SELECT b.id FROM Brand b WHERE cl.brand_id=b.id AND b.brand_name rLIKE '^[0123456789].*')")
Please tell how can we write this using Createcriteria ??
thanks in advance.