• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate processing flush-time cascades & dirty collections

 
tilak kumar
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

i have mapped "actions" and "roles" classes using many-to-many association, with the intermediate table "roleaction".
i wanted to display all the roles and actions in separate combo boxes.
i did this using struts.
where structs Action class gets the list of roles and actions using
hibernates. this list is passed to jsp and displayed in combo box.
when ever i run the jsp hibernate is deleteting all the rows of the intemediate table "roleaction".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic