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".