I have the tables which have association as many-to-many relationship.
It use for keep User Permission and application detail.
Tables :
user_group( user_gro_id, user_gro_name, user_gro_detail )
user_permission( user_gro_id, app_id, is_read, is_create, is_modify, is_delete )
web_application( app_id, app_name, app_detail )
The ploblem is that there are new fields comed from many-to-many relationship, is_read, is_create, is_modify, is_delete , then how do i manage the fields and how do i map the tables to object as many-to-many mapping.
I try to search by google for many-to-many mapping; but i only found the general examples that no have fields comed from many-to-many relationship.
|