Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.hibernate.NonUniqueObjectException

 
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