db-ojb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GKatz-Lichtenst...@bankofny.com
Subject ODMG store of M:N no decomposition relationship
Date Thu, 02 Oct 2003 13:28:18 GMT
Hi.
I am attempting to save an ODMG collection using m:n with no 
decomposition.
It does not work.
Does the ODMG API supports automated persistence of a M:N relationships?

Thank you,
Giora

My psuedo code is:
Insert a User using odmg api.
Insert a Group using odmg api.
Retrieve user using odmg API.
Retrieve group using odmg API.
Update groupList of user using odmg API: 

Dlist newlist = odmg.newDList();
newlist.add(retrievedGroup);
retrievedUser.setGroupList(newlist);

________________________________________________________________________
The information in this e-mail, and any attachment therein, is confidential and for use by
the addressee only. If you are not the intended recipient, please return the e-mail to the
sender and delete it from your computer. Although The Bank of New York attempts to sweep e-mail
and attachments for viruses, it does not guarantee that either are virus-free and accepts
no liability for any damage sustained as a result of viruses.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message