Dear All,
What is the best way to map the below relationship (M:N relation with additional link) in hibernate?
Developer may have more than one skill , and skill can be shared by more than one developer.
I need to hold how many years of experience the developer has in each skill.
Code:
public class Developer{
private Set skills;
}
public class Skill{
}
public class Knowledge {
private Developer developer;
private Skill skill;
private int experience; // this field holds extra information about both associated entities
}
Thanks & regards
Suhaib