File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
one-to-one relationship
insert null in FK field (set null in cmr field ) CMP 2.0
Help me out for EJB2.0 CMR fields mapping in XDOCLET.......
cascade-delete doesn't work
Chapter 7 - HF study group