Re: CakePHP + Sequences = weird problem...

2009-10-12 Thread Pablo Viojo
It should be related to the cakephp cache queries. Try setting $this->Planification->cacheQueries = false; before calling ->query(...) Regards, Pablo Viojo pvi...@gmail.com http://pviojo.net ¿Que necesitas? http://needish.com On Mon, Oct 12, 2009 at 9:44 AM, Xanax wrote: > > Hello, > > I

CakePHP + Sequences = weird problem...

2009-10-12 Thread Xanax
Hello, I have a problem with a sequence in my cakePHP app. The problem is simple : when i call the nextval from a sequence, in a script, it increment by one only ONE time. IE when i do this : $sequence_planifications = $this->Planification- >query('SELECT PLANIFICATIONS_ID_SEQ.nextval from dual