2007/2/26, Gonçalo Marrafa <[EMAIL PROTECTED]>: > Hi have two tables in my database that get their id's from the same > sequence. The problem is that when i try to insert records in either of > them cake tries to get the record's id by selecting the nextval for > tablename_id_seq, which isn't correct.
You don't mention it, but I assume you use Oracle based on the fact you mention sequences. You also don't mention the Cake version and the database driver you use. The dbo_oracle.php in Cake 1.2 seems OK. Did you try to use that one? Regards, Martin -- Martin Schapendonk, [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
