[PR #342] Fix identifier generator strategy for composite identifier #8055

Closed
opened 2026-01-22 15:58:10 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/342

State: closed
Merged: No


When using the ConvertMappingCommand on a schema that contain a table with a composite key, we got the exception:

Single id is not allowed on composite primary key in entity CollectionFields

This can be fix by setting the identifier strategy to NONE for composite identifier fields

**Original Pull Request:** https://github.com/doctrine/orm/pull/342 **State:** closed **Merged:** No --- When using the ConvertMappingCommand on a schema that contain a table with a composite key, we got the exception: ``` Single id is not allowed on composite primary key in entity CollectionFields ``` This can be fix by setting the identifier strategy to NONE for composite identifier fields
admin added the pull-request label 2026-01-22 15:58:10 +01:00
admin closed this issue 2026-01-22 15:58:11 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8055