|Re: [eclipselink-users] Custom SQL for relationship|
Can you post your Entity definition (source)? In my understanding:
- Company and Employee @ManyToMany-Relationship = yes/no?
- Usually you define a JoinTable, if it is @ManyToMany
- Why don't you store the default Company with @OneToOne as extra attribute, besides design issues?
Bálint Kriván wrote:I have to entites: Employee, Company. An Employee can be employed in many Companies, but there is a special Company which should be interpreted as the default one
eclipselink-users mailing list
Back to the top