Hello,
I have a table with two columns pk. but, when i try to insert symfony
try to get a sequence.
I read the comment in BasePeer.php that says:
" // only get a new key value if you need to
// the reason is that a primary key might be defined
// but you are still going to set its value. for example:
// a join table where both keys are primary and you are
// setting both columns with your own values
// pk will be null if there is no primary key defined for the
table
// we're inserting into.
"
.... "// If the keyMethod is SEQUENCE get the id before the insert."
How can I change the keyMethod? or what can i do??
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---