Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

org.hibernate.NonUniqueObjectException  RSS feed

 
indu iyengar
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, when I started to use relationships, it ends up with different types of exceptions.. please give tell me what is key element and why index as the element in list ?

am using 3 tables..
student (studID primary key),courses(courseID primary key) and student-course(studID and courseID as columns )..

the student can select different courses.
so one student with


mapping file..

when I call session.save(obj).. then
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!