Answer the question
In order to leave comments, you need to log in
Hibernate. How best to map?
Hello, there is such a table structure in the database. There are three tables: a lab, a hospital, and a link table that stores which lab serves which hospital. In addition, the linking table contains the contract number and contract term.
The application itself has two pojo classes: Hospital and Laboratory. Store contract data between the lab and the hospital in the Lab class.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question