I´m trying to setup a 1-many relationship between two entity beans. I can´t seem to find any information on how to do it, when one of the beans primary key is compound.
Example. I have a user table with a compound primary key UserPK(firstName, lastName).
And a email table.
A user can have many emails.
Any ideas on how to do the relationship?