Java Database Connectivity (JDBC) - hibernate mappings problem
Hi all,
I am new for hibernate. i wite the table and its column mappings in hbm file but i fail to write relation mapping here i smy table.
course {c_ic,CourseName}
student {s_id,c_id,s_name}
when i get all students list in java classes then i got s_id,c_id,s_namemins 1,2, joninsted of course name i am getting course id.
how can i write relation mappings please help me. Or should i user java annotation to map the bean to table.
i also write two java beans course and student but i fail to write anotation for relation pelase suggest me
Thanks

