DDC-1798: [GH-342] Fix identifier generator strategy for composite identifier #2262

Closed
opened 2026-01-22 13:46:37 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Apr 26, 2012).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @beberlei:

This issue is created automatically through a Github pull request on behalf of jeanmonod:

Url: https://github.com/doctrine/doctrine2/pull/342

Message:

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

Originally created by @doctrinebot on GitHub (Apr 26, 2012). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @beberlei: This issue is created automatically through a Github pull request on behalf of jeanmonod: Url: https://github.com/doctrine/doctrine2/pull/342 Message: 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 Bug label 2026-01-22 13:46:37 +01:00
admin closed this issue 2026-01-22 13:46:37 +01:00
Author
Owner

@doctrinebot commented on GitHub (May 27, 2012):

Comment created by @beberlei:

Fixed

@doctrinebot commented on GitHub (May 27, 2012): Comment created by @beberlei: Fixed
Author
Owner

@doctrinebot commented on GitHub (May 27, 2012):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (May 27, 2012): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Dec 20, 2013):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-342] was closed:
https://github.com/doctrine/dbal/pull/342

@doctrinebot commented on GitHub (Dec 20, 2013): Comment created by @doctrinebot: A related Github Pull-Request [GH-342] was closed: https://github.com/doctrine/dbal/pull/342
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2262