Hi,
Let me come to the problem directly.
I have below tables.
Quote:
sent_mail
mail_id - pk
from_mail_addr_id - fk of mail_addr table
subject
to_mail_addr_list (mapping table)
mail_id - composite pk, fk of sent_mail table
mail_addr_id - composite pk, fk of mail_addr table
mail_addr
mail_addr_id - pk
mail_addr_txt
And, I have below Java Obejcts
Quote:
SentMail
private EmailAddr fromEmailAddr;
private Set<EmailAddr> toEmailAddr;
private String subject
EmailAddr
private String mailAddress;
Here
to_mail_addr_list table is just a mapping table which does not represent any Java object. For the above setup i do not know to create hibernate mapping file.
Quote:
If somebody could help with how to handle the to_mail_addr_list mapping table without creating a java object for the mapping table, that should be more than enough.
Expecting your answers. Thanks a lot for your help
Nava