Hi Robert,

The conatiner and Persistence Manager will tranparently manage the
relationship.

But there is an instance when an entity ejb needs to be defined for
correlation entity. The case is when there are attributes of the relation.
(Please check the archives for a previous discussion on the same thread.)

Hemant
www.pramati.com

----- Original Message -----
From: "Robert Nicholson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 8:42 AM
Subject: Modelling many to many relationships with EJB 2.0 compliant
containers?


With the CMP offered by EJB 2.0 compliant containers. Is the correlation
table completely transparently managed by the container?

That is. Do I have to have an entity ejb for the correlation entity and
.create it when I wish to create the assocation? Or can I do everything via
references from the to one side of the relationship's entity? via. addXXX
methods?

Same question applies to EJB 1.1 containers too. How exposed is the "client"
to the correlation table?

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to