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
Android Security Essentials Live Lessons
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?
Hibernate: Different Join in Save() and Get()
Does WAS 5.0 support container managed relations ?
@OneToMany primary key part of foreign key
one to one or many to one ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014