Dear, Someone must have encountered a situation where a table had with composite key. what did you do? Since CakePHP recognizes only one field to primaryKey!
In my opinion I see two possibilities: 1 - not create tables with composite keys. When you need to use composite keys to identify a record, create one more field with the name ID and put it as primary key. 2 - forget standardization. Choose one of the fields to put in $ primaryKey attribute of the model and when you need to make a relationship (or hasMany belongsTo), use to specify the conditions other fields that make up the key of the table. That's my opinion, please tell her! Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en