final ObjectAdapter parent = object.getAggregateRoot();
LOG.debug("change to internal collection being persisted through parent");
final Oid oid = object.getOid();
if (oid instanceof AggregatedOid) {
final AggregatedOid aoid = (AggregatedOid) oid;
final ObjectMapping mapping2 = objectMappingLookup.getMapping(parent, connection);
if (mapping2.saveCollection(connection, parent, aoid.getId()) == false) {
final ObjectMapping mapping = objectMappingLookup.getMapping(parent, connection);
mapping.save(connection, object);
}
connectionPool.release(connection);
} else {