Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Detached Criteria for two tables/objects  RSS feed

 
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!