Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

updating object  RSS feed

 
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!