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

Closed
opened 2026-01-22 14:23:27 +01:00 by admin · 3 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:27 +01:00
admin closed this issue 2026-01-22 14:23:27 +01:00
Author
Owner

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

@doctrinebot commented on GitHub (Dec 29, 2013): - relates to [DBAL-563: Oracle "IDENTITY" last inserted ID is returning 0 instead of the real ID](http://www.doctrine-project.org/jira/browse/DBAL-563)
Author
Owner

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

Comment created by @doctrinebot:

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

@doctrinebot commented on GitHub (Dec 31, 2013): Comment created by @doctrinebot: A related Github Pull-Request [GH-890] was closed: https://github.com/doctrine/doctrine2/pull/890
Author
Owner

@doctrinebot commented on GitHub (Aug 18, 2014):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Aug 18, 2014): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3591