-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Parent table fetches child table during query execution
PostPosted: Sat Jan 12, 2013 3:18 am 
Newbie

Joined: Sat Jan 12, 2013 3:10 am
Posts: 1
For Example:

Table_One having OneToOne relation with table_two and OneToMany with table_three

If i want to execute createSqlQuery("select * from table_one where id=1") then in console we can see result as
select * from table_one along with query to table_two and table_three table


How to fetch the child table data on demand?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.