Hi.

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.

What is the correct way of getting the right id in Cake? If there isn't a
"correct" way then what do you suggest (i'm trying to keep core hacks to
a minimum)? 

Thanks in advance.

Best regards.

-- 
Gonçalo Marrafa <[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
-~----------~----~----~----~------~----~------~--~---

Reply via email to