[PR #7673] Add support for SequenceGenerator in strategy IDENTITY #10596

Closed
opened 2026-01-22 16:08:05 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: No


Doctrine already supports the SequenceGenerator annotation for GeneratedValue(strategy="SEQUENCE"), however it is not possible to indicate the sequence name when using strategy=IDENTITY.

Unfortunately, the sequence name is not generated correctly for PostgreSQL. #6032

This workaround allow indication of the sequence name, without breaking any compatibility.

**Original Pull Request:** https://github.com/doctrine/orm/pull/7673 **State:** closed **Merged:** No --- Doctrine already supports the SequenceGenerator annotation for GeneratedValue(strategy="SEQUENCE"), however it is not possible to indicate the sequence name when using strategy=IDENTITY. Unfortunately, the sequence name is not generated correctly for PostgreSQL. #6032 This workaround allow indication of the sequence name, without breaking any compatibility.
admin added the pull-request label 2026-01-22 16:08:05 +01:00
admin closed this issue 2026-01-22 16:08:05 +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#10596