Skip to content

Do not over increment identitiy sequence on Oracle #6816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

morozov
Copy link
Member

@morozov morozov commented Mar 3, 2025

This isn't really a bug bug, but something that could be improved. If an explicit value is inserted into an auto-increment column on Oracle, the next auto-increment value will be not +1 but +2.

Apparently, such a case doesn't affect the internal auto-increment sequence on Postgres and DB2 at all, but there's nothing we can do here.

@morozov morozov added this to the 4.2.3 milestone Mar 3, 2025
@morozov morozov force-pushed the oracle-do-not-over-increment-sequence branch 3 times, most recently from a9979e3 to 5ff0c2b Compare March 3, 2025 05:35
@morozov morozov force-pushed the oracle-do-not-over-increment-sequence branch from 5ff0c2b to 9e3c313 Compare March 3, 2025 06:58
@morozov morozov marked this pull request as ready for review March 3, 2025 07:26
@morozov morozov requested a review from greg0ire March 3, 2025 07:26
@morozov morozov merged commit 98cf3a2 into doctrine:4.2.x Mar 3, 2025
66 checks passed
@morozov morozov deleted the oracle-do-not-over-increment-sequence branch March 3, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants