Legacy « Table « JPA Q&A





1. Code Tables in Legacy System    forum.hibernate.org

2. legacy tables many-to-many, can it be done in hibernate?    forum.hibernate.org

I have legacy db that cannot be modified. I have the following tables doctor -------- PK: ID individual --------- PK: ID Head_Address individual_address ----------------- PK: ID PK: Type PK: Ind So I have a 1-1 relationship from doctor.ID to individual.ID, no problem, but I have a many-many relationship between individual.Head_Address and individual_address.ID. The problem I'm running into is when an address ...