hibernate - select from subquery criteriaBuilder -


could tell me example of how can make hibernate query join subquery using criteriabuilder

here simple example:

select idschool, name user left join (select idschool student age < 15) newtable on idschool = idschool 

thanks

hibernate query language hql or jpa query language jp ql, both don't support joining subquery. subqueries can occur on select or clauses in hibernate (and not on clause). rule applies criteriaquery.

see related posts:

alternatively, can execute native sql query.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -