|
Hi,
I have 2 tables namely 'JOB' & PERSON'. There is a one to many relationship
between the 2 tables that is, different person can hold the same JOB.
E.g. Tom and Jenny are both accountant.
If given the job title (field in JOB table), I am able to find the list
of people holding the same job. How if I am given only the personID (field in PERSON table)
or name, how can I find the job title of that specific person?
I tried the bidirectional association method but I encountered
the following error:
"An association from the table PERSON refers to an unmapped class JOB."
|