I have the following situation in my schema:
There is a User table. Users can belong to just one Group. There is no need for navigating from Groups to Users. These two tables are related by a third table: UserGroup. In this third table, the FK column from User is the PK.
Is it possible to _naturally_ - no association class or many to many - map this relationship with Hibernate? If not, what would be the not-that-ugly approach? In case it's not possible, can someone please tell me where should i look for in the sources in order to implement this feature?
Tnx,
Michael
|