Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring - JPA/Hibernate : Multiple joins query execution using criteria query  RSS feed

 
Atul More
Greenhorn
Posts: 11
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a question:
I want to execute a query in which I need to get populate the data from muliple level entity.
E.g. - User -> Role -> Permission
If Admin want to search a user based on permission or based on role, he can able tot do that.
I want to know, how can I write a criteria query in this kind of situation.


Thanks,
Atul
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!