- Table1 (PK - x)
- Table2 (PK - y)
Lookup Table (PK - [x, y]), z(additional attribute)
I want to create Entity classes for Table1 and Table2 using JPA. Also, I want my Lookup Table to have some additional attributes. How can I achieve this?
Lookup Table (PK - [x, y]), z(additional attribute)
I want to create Entity classes for Table1 and Table2 using JPA. Also, I want my Lookup Table to have some additional attributes. How can I achieve this?