Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Detached Criteria for two tables/objects

 
Bhanu S Chatta
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

can some one give me a clue on how to set the detached criteria for two tables/objects? Basically I need the results from both tables. I know how to set the detached criteria for single object/class as below:

DetachedCriteria.forClass(Bhanu.class);

What should I do I want to seach two tables one after another to get the results from both tables?

Thank you in advance,
Bhanu
 
Bhanu S Chatta
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please let me know whether I can achive getting the cumulative results after searching the two tables using Detached Criteria or not.

Thank you,
Bhanu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic