Hi Ajiyos,
I'm not sure what you're asking. Are you trying to link A and B without
having a ManyToMany association, or are you asking whether you can use the
ManyToMany association but not use a join table?
You definitely do not need a third entity to link A and B, but we will
create a join table A_B to maintain the relationships.
Hope this helps,
-mike
2009/7/22 അജിയോസ് യോഹന്നാന്(Ajiyos) <ajiyos@gmail.com>
> I have a few questions on JPA field mapping
>
>
> I have two tables A and B. The records in A is linked to the records in B
> using a link table(Many to Many association) in rdbms. However I have some
> properties for that link(association). Can I represent it without having a
> link entity.
>
> Any insight into this problem will be helpful to me..
>
> Thanks and regards,
> Ajiyos
> --
> "Attitude not the Aptitude determines the Altitude"
>
|