4 Replies Latest reply on Sep 2, 2002 5:35 AM by cyates

    Adding onto end of many in 1-m CMP/CMR

    cyates

      Hi,

      I have a User which has many activities, each activity is owned by one user.

      Using CMR to manage this relationship I am having to do User.getActivities().add(ActivityLocal.create(blah,blah)).

      Does this mean that every time I add an activity every other activity is being loaded from the database (for that user)?

      This seems very inefficient. Is there another way? I simply want to insert a new row into the activities table.

      Thanks