Select Hibernate criteria with mapped entity

Asked

Viewed 186 times

1

has how I make a select, using the criteria and bring an uncharted entity, would be several joins, and sometimes bring certain fields and others not.

1 answer

2


  • With criteria you can get behind unmapped classes, look in the Hibernate 5.2 documentation that uses the entitymanager criteriabuilder that shows you how to do it.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.