Hi,
The idea of using CMR is that the EJB container manages the relationship for you and you dont have to explicitly manage the consistency between the two entities.
For more information on CMR refer to this
tutorial.
Hope this helps.
Sujatha.
OTN Sample Code