File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
1-M relationship & join queries?
Joined: May 08, 2005
Aug 02, 2005 05:05:00
i have a 1-M relationship defined in ejb-jar.xml for table A and table B.
table A consists of:
table B consists of
i want to do a search based on the name on table A, and when user search, i want to be able to get the version on table B as well.
how can i do that? do i need to have a join query in my jboss-jdbc.xml?
Jys<br /><a href="http://jy-s.com" target="_blank" rel="nofollow">http://jy-s.com</a><br /> <br />Trying my very best to learn java, please forgive me if i'm asking some really stupid questions.
I agree. Here's the link:
subject: 1-M relationship & join queries?
one to one or many to one ?
Does WAS 5.0 support container managed relations ?
Hibernate: Different Join in Save() and Get()
@OneToMany primary key part of foreign key
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015