• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

org.hibernate.NonUniqueObjectException

 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic