DDC-2875: [GH-890] [DBAL-563] Add general IDENTITY generator type support for sequence emulating platforms #3589

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

Originally created by @doctrinebot on GitHub (Dec 29, 2013).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @doctrinebot:

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

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

Message:

This is a follow-up PR for https://github.com/doctrine/dbal/pull/428 as discussed in [DBAL-563](http://www.doctrine-project.org/jira/browse/[DBAL-563]%28http://www.doctrine-project.org/jira/browse/DBAL-563%29) which adds IDENTITY generator type support for platforms that do not natively support identity columns but can emulate them via sequences.
This replaces the current workaround for PostgreSQL SERIAL columns in favour of a more general approach. With this patch now IDENTITY generator can also be used with Oracle which did not work before. Future platforms can also make use of this approach if necessary.

Originally created by @doctrinebot on GitHub (Dec 29, 2013). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of deeky666: Url: https://github.com/doctrine/doctrine2/pull/890 Message: This is a follow-up PR for https://github.com/doctrine/dbal/pull/428 as discussed in [[DBAL-563](http://www.doctrine-project.org/jira/browse/DBAL-563)](http://www.doctrine-project.org/jira/browse/[DBAL-563]%28http://www.doctrine-project.org/jira/browse/DBAL-563%29) which adds IDENTITY generator type support for platforms that do not natively support identity columns but can emulate them via sequences. This replaces the current workaround for PostgreSQL `SERIAL` columns in favour of a more general approach. With this patch now IDENTITY generator can also be used with Oracle which did not work before. Future platforms can also make use of this approach if necessary.
admin added the Bug label 2026-01-22 14:23: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#3589