• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in saveOrUpdate()

 
Kunal Lakhani
Ranch Hand
Posts: 622
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am loading the data through a method, (using criteria), editing the value and then passing onto the different method with code as session.saveOrUpdate(). Here is the code



Here is the exception



This Entity class contains a property known as classAdmitted, which is a primary key. I just need to update the another property(tuition fee) associated with classAdmitted property
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic