A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Object Relational Mapping
How do I map this?
Joined: Jun 24, 2003
Jun 13, 2006 12:34:00
I have 2 tables Table1 and Table2
Now, when I load Table1, i want to load rows of Table2 that match the following criteria:
Table1.A = Table2.A and Table1.D = Table2.D
Is this a many-to-many ? Is so, can I map it since i don't have a join table?
[ June 13, 2006: Message edited by: Dushy Inguva ]
SJCP, SCBCD, SJCD, SCDJWS, SCEA (Part I)
I agree. Here's the link:
subject: How do I map this?
I want to join three tables using DetachedCriteria
Problem with joining of two tables with Hibernate
Foreign key access problem
one-to-many mapping with table having no primay key
Hibernate: Different Join in Save() and Get()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015