protected function doSave(PropelPDO $con)
 {
     $affectedRows = 0;
     if (!$this->alreadyInSave) {
         $this->alreadyInSave = true;
         if ($this->aAlumno !== null) {
             if ($this->aAlumno->isModified() || $this->aAlumno->isNew()) {
                 $affectedRows += $this->aAlumno->save($con);
             }
             $this->setAlumno($this->aAlumno);
         }
         if ($this->aCalendariovacunacion !== null) {
             if ($this->aCalendariovacunacion->isModified() || $this->aCalendariovacunacion->isNew()) {
                 $affectedRows += $this->aCalendariovacunacion->save($con);
             }
             $this->setCalendariovacunacion($this->aCalendariovacunacion);
         }
         if ($this->isNew()) {
             $this->modifiedColumns[] = RelCalendariovacunacionAlumnoPeer::ID;
         }
         if ($this->isModified()) {
             if ($this->isNew()) {
                 $pk = RelCalendariovacunacionAlumnoPeer::doInsert($this, $con);
                 $affectedRows += 1;
                 $this->setId($pk);
                 $this->setNew(false);
             } else {
                 $affectedRows += RelCalendariovacunacionAlumnoPeer::doUpdate($this, $con);
             }
             $this->resetModified();
         }
         $this->alreadyInSave = false;
     }
     return $affectedRows;
 }