[](https://travis-ci.org/doctrine/orm)
This release fixes some bugs (including a few regressions related to the
paginator component and cleaning collections when using `DEFERRED_EXPLICIT`).
It also marks the EOL for the v2.6.x series since we'll soon be
releasing v2.7.0.
--------------------------------------------
- Total issues resolved: **9**
- Total pull requests resolved: **23**
- Total contributors: **24**
Bug,Regression
--------------
- [7905: [Paginator] Fix type conversion during hydration of pagination limit subquery](https://github.com/doctrine/orm/pull/7905) thanks to @akorz, @lcobucci, and @ostrolucky
- [7862: Using `ArrayCollection->clear` over an entity marked to be persisted, doesn't create corresponding `DELETE` statements](https://github.com/doctrine/orm/issues/7862) thanks to @ferrastas and @ostrolucky
- [7861: Delete statements will not be created using `clear` ](https://github.com/doctrine/orm/pull/7861) thanks to @ferrastas
Bug
---
- [7869: UnitOfWork::clear() misses $eagerLoadingEntities](https://github.com/doctrine/orm/pull/7869) thanks to @BenMorel
- [7865: #7837 paginate with custom identifier types even with enabled DQL query cache](https://github.com/doctrine/orm/pull/7865) thanks to @Ocramius
- [7856: Fix underscore naming strategy behaviour with numbers](https://github.com/doctrine/orm/pull/7856) thanks to @lcobucci
- [7855: Numbers in a string using underscore naming strategy](https://github.com/doctrine/orm/issues/7855) thanks to @vuras
- [7850: Don't merge PersistentCollection orderBy with criteria in matching()](https://github.com/doctrine/orm/pull/7850) thanks to @nlx-lars
- [7842: #7841 SchemaTool generates extra diff for platforms without FK support](https://github.com/doctrine/orm/pull/7842) thanks to @vpArth
- [7764: #7763 escape quotes in field comments](https://github.com/doctrine/orm/pull/7764) thanks to @guillaume-a
- [7763: "doctrine:mapping:import" does not escape quotes in field comments](https://github.com/doctrine/orm/issues/7763) thanks to @guillaume-a
- [7684: only replace '_id' at end of columnName](https://github.com/doctrine/orm/pull/7684) thanks to @rharink
CI
------
- [7889: Use quoted collation declaration when available, fixes test suite when running against DBAL 2.10+](https://github.com/doctrine/orm/pull/7889) thanks to @ajgarlag
Documentation
-------------
- [7884: [Documentation] Advanced field value... - missing entity alias](https://github.com/doctrine/orm/pull/7884) thanks to @rogeriolino
- [7880: Update documentation to recommend DQL over QueryBuilder when possible](https://github.com/doctrine/orm/pull/7880) thanks to @kuraobi and @javiereguiluz
- [7871: AbstractQuery::getSingleScalarResult() throws exception when no result](https://github.com/doctrine/orm/pull/7871) thanks to @BenMorel
- [7858: Invalid version in Doctrine\ORM\Version::VERSION](https://github.com/doctrine/orm/issues/7858) thanks to @guillaumesmo
- [7849: Mention SQL logger impact on batch processing](https://github.com/doctrine/orm/pull/7849) thanks to @axi
- [7838: Fix the name of ClassMetadata in documentation](https://github.com/doctrine/orm/pull/7838) thanks to @samnela
- [7768: Fix EntityManagerHelper's documentation (it can't accept an array of paths)](https://github.com/doctrine/orm/pull/7768) thanks to @mickaelandrieu
- [7727: [doc] Finish incomplete definition of class UTCDateTimeType](https://github.com/doctrine/orm/pull/7727) thanks to @madand
- [7671: Added missing "the"](https://github.com/doctrine/orm/pull/7671) thanks to @jschaedl
- [7667: Fixes example One-To-One, Self-referencing](https://github.com/doctrine/orm/pull/7667) thanks to @jschaedl
- [7443: Added doc about exception in Query#getOneOrNullResult()](https://github.com/doctrine/orm/pull/7443) thanks to @naitsirch and @Mynyx
- [7298: Add a missing type in Query::getFirstResult PHPDoc](https://github.com/doctrine/orm/pull/7298) thanks to @dunglas
Improvement
-----------
- [7851: Remove not used variable $reflFieldValue in ObjectHydrator](https://github.com/doctrine/orm/pull/7851) thanks to @peter-gribanov