[PR #5935] Fix #5684 - Fix mapping on insertion for autoincrement columns with custom types #9791

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

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

State: closed
Merged: No


Fixes #5684

The problem when using a custom type for autoincrement columns is that the value of autoincrement column returned by the database gets assigned directly without respecting mapping information. This only happens for insertion. When you fetch the records, the value is already mapped correctly.

**Original Pull Request:** https://github.com/doctrine/orm/pull/5935 **State:** closed **Merged:** No --- Fixes #5684 The problem when using a custom type for autoincrement columns is that the value of autoincrement column returned by the database gets assigned directly without respecting mapping information. This only happens for insertion. When you fetch the records, the value is already mapped correctly.
admin added the pull-request label 2026-01-22 16:05:26 +01:00
admin closed this issue 2026-01-22 16:05:26 +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#9791