I want to know if I have the same problem:

I have a User and a Role class. User has a roles:Collection property.
The repository defines the collection-descriptor with all auto- values
set to true and a indirection-table UserRoles with userId and roleId has a
compound
primary key.  I am using the ODMG API. If a write-lock an user object and
add a role
object to the (empty) collection the changes to that mapping are not made
persistent.

Strange thing: If I change another attribute of the user (email etc.) so
that
the objects is marked dirty the mapping is correctly made persistent. But I
have
no UserRole Object mapped to the indirection table (and think i do not need
this) so
I can not make the mapping persistent another way.

Is this the same kind of problem you have?

Vincenz


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to