Re: saveAll rolling back my transactions

2010-03-29 Thread Ernesto
myISAM. i'll check OrderControllers validation errors On 26 Mar, 16:18, Lucca Mordente luccamorde...@gmail.com wrote: Maybe your database table engine does not support transactions. What engine are you using? Lucca Mordente On 26 mar, 09:28, Ernesto e.fanz...@gmail.com wrote: Hello.

Re: saveAll rolling back my transactions

2010-03-29 Thread Lucca Mordente
you can't use transactions with myisam tables. change it to innoDB (or another), in which this support is present On Mar 29, 9:34 am, Ernesto e.fanz...@gmail.com wrote: myISAM. i'll check OrderControllers validation errors On 26 Mar, 16:18, Lucca Mordente luccamorde...@gmail.com wrote:

saveAll rolling back my transactions

2010-03-26 Thread Ernesto
Hello. i have 2 models (Item and Order) joined together by a HABTM relationship. since i need some additional fields (quantity) in the join table i splitted the HABTM in 2x hasMany. after that i coded a Order add form wich gives me this data array Array ( [Order] = Array (

Re: saveAll rolling back my transactions

2010-03-26 Thread Dr. Loboto
Check validation errors. If ItemsOrders items are validated after Order and fail transaction should be rolled back. Data stays added as you have non-InnoDB table orders that do not support transactions. On Mar 26, 6:28 pm, Ernesto e.fanz...@gmail.com wrote: Hello. i have 2 models (Item and

Re: saveAll rolling back my transactions

2010-03-26 Thread Lucca Mordente
Maybe your database table engine does not support transactions. What engine are you using? Lucca Mordente On 26 mar, 09:28, Ernesto e.fanz...@gmail.com wrote: Hello. i have 2 models (Item and Order) joined together by a HABTM relationship. since i need some additional fields (quantity) in