org.hibernate.QueryException: could not resolve property: user_doc_id of: OrderHeader [select new map(hdr.order_number as order_number,(select count(dtl) from OrderDetail dtl where dtl.user_doc_id=hdr.user_doc_id AND dtl.status &lt;&gt; 'Cancelled') as activeRowCount) from OrderHeader hdr where hdr.user_doc_id in ('PO00000
1')]