• 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".
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!