Saturday, 28 September 2013

JPA mapping primary key in one table with 2 foreign keys in another table

JPA mapping primary key in one table with 2 foreign keys in another table

I have a primary key in one table and which is linked to 2 foreign keys in
other table. how to do mapping in this scenario and how to decide fetching
type and cascading type. I am new to JPA so any inputs will be usefull.

No comments:

Post a Comment