Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The reason for a repeating entry when updating through the parent in a Has Many relationship is that the child table has multiple matching records for the parent record. This can happen when there are multiple records in the child table that have a foreign key that points to the same primary key value in the parent table. When updating through the parent, the update query will affect all the matching child records, resulting in duplicate updates.