aspose file tools*
The moose likes Websphere and the fly likes How to mapping cmr field into DB with WSAD5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to mapping cmr field into DB with WSAD5.0" Watch "How to mapping cmr field into DB with WSAD5.0" New topic
Author

How to mapping cmr field into DB with WSAD5.0

Liz Lee
Greenhorn

Joined: Feb 23, 2003
Posts: 6
There are many-many relationship with two CMP enitiy bean. I want to mapping their relationship into another table.
For example, Users and Roles in system is many-many relationship.
The table "t_userrole" with 'userId' and 'roleId' fields records the relationship between user and role.
UserBean has a cmr field named 'roles';
RoleBean has a cmr field named 'users';
But I don't know how to mapping these cmr fields into t_userrole talbe.
Thx.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to mapping cmr field into DB with WSAD5.0