No subject
Thu Mar 18 12:11:26 PST 2004
MultiDBObject myMulti = new MultiDBObject();
2. myMulti.setDBName(getDBName());
3. myMulti.addDBObj("com.jcorporate.expresso.services.dbobj.UserDBObj");
4. myMulti.addDBObj("com.jcorporate.expresso.services.dbobj.UserGroup",
"group");
5. myMulti.addDBObj("com.jcorporate.expresso.services.dbobj.GroupMembers",
"members");
6. setForiegnKey("members", "UserName", "User", "UserName");
7. setForiegnKey("members", "GroupName", "group", "GroupName");
8. MultiDBObject oneMulti = null;
I think at first line e need a shortname of this DBObject. After the text it
must be "User"
And the second one in line 6 and 7. Here I'm not really sure,
MyMulti.setForiengnKey
^^^^^^^^ ??
Ok can some check this up?
--<cut>--
--
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
More information about the Opensource
mailing list