DBAL deprecation: AbstractPlatform::usesSequenceEmulatedIdentityColumns is deprecated #7159

Open
opened 2026-01-22 15:45:47 +01:00 by admin · 0 comments
Owner

Originally created by @dmaicher on GitHub (Jun 2, 2023).

I noticed the following deprecation report on my projects:

Doctrine\DBAL\Platforms\AbstractPlatform::usesSequenceEmulatedIdentityColumns is deprecated. (AbstractPlatform.php:3945 called by ClassMetadataFactory.php:622, https://github.com/doctrine/dbal/pull/5513, package doctrine/dbal)

This is caused by b52a8f8b9e/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php (L622)

Is there a way to avoid this deprecation inside ClassMetadataFactory?

Originally created by @dmaicher on GitHub (Jun 2, 2023). I noticed the following deprecation report on my projects: > Doctrine\DBAL\Platforms\AbstractPlatform::usesSequenceEmulatedIdentityColumns is deprecated. (AbstractPlatform.php:3945 called by ClassMetadataFactory.php:622, https://github.com/doctrine/dbal/pull/5513, package doctrine/dbal) This is caused by https://github.com/doctrine/orm/blob/b52a8f8b9e682a0bb5fa381d0cf8aaeb9c4445bf/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php#L622 Is there a way to avoid this deprecation inside `ClassMetadataFactory`?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7159