When you are creating multiple records in sequence, always call Model::create() befote Model::save():
$this->Person->create(); $this->Person->save($data); -MI --------------------------------------------------------------------------- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! blog: http://www.MarianoIglesias.com.ar -----Mensaje original----- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de RLR Enviado el: Martes, 20 de Marzo de 2007 08:54 a.m. Para: Cake PHP Asunto: Are Cakephp queries being cached that interfere with my batch import function? function parseRegistrationData($row) { check data etc.. ... $this->Person->save($data); $person1_id = $this->Person->getID($list = 0); } } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---