[PR #6684] Support composite & non-identifier generated values #10092

Open
opened 2026-01-22 16:06:24 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: No


  • enable generated values for composite identifiers
  • enable generated values for non-identifier fields
  • forbid IDENTITY in composite identifiers and on non-identifiers (not supported by platforms)

This is now possible thanks to f482d64d50.

Possible enhancements:

  • More platform-specific tests (i.e. sequences)?
  • Unsure about post-insert generators, should they be allowed? Or maybe removed in 3.0 as it really makes sense only for IDENTITY generator?

Closes #6422.
Closes #4704.
Closes #5416.
Closes #2400.

**Original Pull Request:** https://github.com/doctrine/orm/pull/6684 **State:** closed **Merged:** No --- * enable generated values for composite identifiers * enable generated values for non-identifier fields * forbid IDENTITY in composite identifiers and on non-identifiers (not supported by platforms) This is now possible thanks to f482d64d50ffec5f7918206f56beb849e48350e2. Possible enhancements: * More platform-specific tests (i.e. sequences)? * Unsure about post-insert generators, should they be allowed? Or maybe removed in 3.0 as it really makes sense only for IDENTITY generator? Closes #6422. Closes #4704. Closes #5416. Closes #2400.
admin added the pull-request label 2026-01-22 16:06:24 +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#10092