Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:2.1.8
Name and version of the database you are using: Oracle 9i
I have three tables in my Db
Student
StudentClasses
Classes
The following is the relationship between the three tables.
Student (1) ---- ( N) StudentClasses ( N )----( 1 )Classes
Student table has a composite key composed of class id and student id. This table also has additional attributes which are unique to every student class relationship. Do you guys have any recommendation on how i could map this. I am trying to work with
One to many between Student and StudentClasses
One to many between Classes and StudentClasses
But will this even work when I try to persist this data ? I guess this is more of a how to approach question. Thanks a bunch