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 Java 8 in Action this week in the Java 8 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
 
Similar Threads
Help me out for EJB2.0 CMR fields mapping in XDOCLET.......
one-to-one relationship
cascade-delete doesn't work
Chapter 7 - HF study group
insert null in FK field (set null in cmr field ) CMP 2.0