[EMAIL PROTECTED] wrote:
i do not see where this happens ?
i meant i do not see where the keys in referenced objects are set... btw. there have been changes in storeCollection recently
jakob
Here (note: the if(!"true".equals( bellow is in my patched version of OJB that is working fine):
... private void storeCollections(Object obj, Vector vecCds) throws PersistenceBrokerException { // get all members of obj that are collections and store all their elements Iterator i = vecCds.iterator(); while (i.hasNext()) { CollectionDescriptor cds = (CollectionDescriptor) i.next();
if(!"true".equals(cds.getAttribute("virtual"))) { Object col = cds.getPersistentField().get(obj); Collection currentMtoNKeys = null;
if (col == null) { if (cds.isMtoNRelation()) { deleteMtoNImplementor(cds, obj); } }
...
Edson Richter
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
