posted 16 years ago
Hi,
I have this tables:
Table: users
id integer
name varchar
Table: user_contacts
user_id integer
contact_id integer
active boolean
This is a self many-to-many relationship (user_id and contact_id is an user) with an extra attribute.
How I can map this with JPA?
With hibernate I do this:
Thank you!
Jair