A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
get all the records from a child table ?
Joined: Apr 22, 2007
Oct 29, 2008 07:40:00
I have a parent-child relation between tables in oracle .
Is there any way to get all the child records by giving the primary key of the parent table.
can any body give an idea to me ....
Joined: Aug 13, 2004
Oct 29, 2008 07:52:00
Yes,A simple join will solve your problem, but all the column value of parent table will repeated for every row of child table.
Gravitation cannot be held responsible for people falling in love ~
I agree. Here's the link:
subject: get all the records from a child table ?
How toPersist Value in the Tables Using Entity Bean
specific TD value
Presenting Data to User
Help require on parent -child cascade ralationship in hibernate
Oracle table partitioning
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015