What about detach deprecation? #6660

Closed
opened 2026-01-22 15:36:37 +01:00 by admin · 1 comment
Owner

Originally created by @edezacas on GitHub (Mar 24, 2021).

Is not clear detach deprecation, at doctrine 2.8, detach method is marked as deprecated for Doctrine 3, but I've just seen Introduce doctrine/deprecations where @beberlei say:

This PR also undeprecates EntityManager::detach for now, because unless we find some kind of replacement API it cannot be removed as relied on heavily by the batch processing use-cases with AbstractQuery::toIterable.

Also I've checked at branch 2.9.x and 3.0.x deprecation annotation has been removed.

So, anybody may be clarify this?

Thanks,

Originally created by @edezacas on GitHub (Mar 24, 2021). Is not clear detach deprecation, at doctrine 2.8, detach method is marked as deprecated for Doctrine 3, but I've just seen [Introduce doctrine/deprecations](https://github.com/doctrine/orm/pull/8466) where @beberlei say: > This PR also undeprecates EntityManager::detach for now, because unless we find some kind of replacement API it cannot be removed as relied on heavily by the batch processing use-cases with AbstractQuery::toIterable. Also I've checked at branch 2.9.x and 3.0.x deprecation annotation has been removed. So, anybody may be clarify this? Thanks,
admin closed this issue 2026-01-22 15:36:37 +01:00
Author
Owner

@greg0ire commented on GitHub (Mar 24, 2021):

unless we find some kind of replacement API it cannot be removed as relied on heavily by the batch processing use-cases with AbstractQuery::toIterable.

Hi! What's unclear about this?

@greg0ire commented on GitHub (Mar 24, 2021): > unless we find some kind of replacement API it cannot be removed as relied on heavily by the batch processing use-cases with AbstractQuery::toIterable. Hi! What's unclear about this?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#6660