This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

updating object

 
bina babar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one object which has many to many relationship with other object. I do have one mapping table and also displaying the information from these two objects on my jsp.

Suppose I change this relationship by selecting or deselecting some entries from UI,then on update call the deselected entries should be deleted from databse but it is not happening why ?
 
James Sutherland
Ranch Hand
Posts: 553
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What ORM are you using? what is your code for the update? what SQL is produced?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic