A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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?
Foreign key access problem
Problem with joining of two tables with Hibernate
I want to join three tables using DetachedCriteria
Hibernate: Different Join in Save() and Get()
one-to-many mapping with table having no primay key
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013