Hi,
I am new for hibernate. Please help me, how can i do the mappings in
Tabes structure
Status Complaint
id id
status status_id (Forigen key of Status table)
description
i have these classes
status.java, Complaint. java , status.hbm.xml, Complaint.hbm.xml
how can i get information of Complaint in my getAllComplaint() method. i am getting all complaints list with status_id not the status (open/closed). its problem of join i thing.
i am getting problem in making mappings in hbm files for forgien keys.
Please help me to get over the problem.
Thanks
Ravi
_________________ Thanks & Regards
Ravi Adha
|