Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Hibernate criteria api] is it possible to fetch data from two tables?

 
Saurabh Pillai
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
 
Sean Clark
Rancher
Posts: 377
Android Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.

You can use Associations and Projections to achieve this, see: hibernate criteria.

Sean
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic