From: Jonathan S. <js...@pc...> - 2004-06-12 14:29:15
|
Gregory: This logic is in GUS::Model::GusRow::addChild. An object may not have more than one parent from any given table/class. The child object is removed from its previous parent whenever a new parent claims (adds) it. Thus, I believe, an object that had two keys to the same parent table could not belong to both parent objects at the same time. Though I prefer my original suggestion since it is faster, this suggests another work around. Sorry for the all caps, but, I DO NOT RECOMMEND THIS! Rather than getting the children via getChildren, you could SQL query for the ids then instantiate the children directly. Cheers, Jonathan ------------------------------------------------------------------------ --- Jonathan Schug Center for Bioinformatics js...@pc... Computational Biology and Informatics Lab (215) 573-3113 voice University of Pennsylvania, (215) 573-3111 fax 1401a Blockley Hall, Philadelphia, PA 19014-6021 |