Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » OneToMany two times
OneToMany two times [message #454260] Sat, 01 August 2009 13:26 Go to previous message
Omar Diego Vera Ustariz is currently offline Omar Diego Vera Ustariz
Messages: 4
Registered: July 2009
Junior Member
Hi all,

I am writing my entities and due to my modeling I have a OneToMany
relationship between two Entities, of course both relationships have a
different meaning. However when I see the data base only one table with
three columns was created representing the relationship. I was expecting
to have two relationship tables each representing a relationship. Is there
a way to model two OneToMany relationships between two Entities creating a
different table for every relationship?

Thanks in advance,

-Omar Diego
 
Read Message
Read Message
Previous Topic:interfaces
Next Topic:ManyToOne only have the IDs in a collection not the whole object
Goto Forum:
  


Current Time: Tue May 21 02:03:01 EDT 2013

Powered by FUDForum. Page generated in 0.01677 seconds