As an example there is a student class which has a reference to a course class.
when we are going to create a hbm file we have to map student object to two database tables.
can anyone give good example or tutorials.
Don't give example with Annotation ,because i am not much familier with annotation?
posted 7 years ago
A simple internet search will fetch you loads of tutorials,
here is one which doesnt use annotation to do the mapping