1
0
Fork 0
mirror of synced 2025-03-28 19:03:50 +03:00
doctrine2/lib
Benjamin Eberlei 3801e0c230 Add way to keep track of read only objects in the UnitOfWork which are never updated during flush.
Changed the behavior of EntityManager#getPartialReference to be read-only. No changes are ever
done to this entities. Changed UnitOfWork#computeChangeSet to never create a changeset for
fields that are partially omitted from a DQL or NativeQuery.

To check if an entity is read only use the new API:

    if ($entityManager->getUnitOfWork()->isReadOnly($entity))
2011-10-15 15:42:02 +02:00
..
Doctrine/ORM Add way to keep track of read only objects in the UnitOfWork which are never updated during flush. 2011-10-15 15:42:02 +02:00
vendor DDC-1337 - Adjust MultiTableUpdateExecutor and MultiTableDeleteExecutor to use AbstractPlatform 2011-09-25 19:01:37 +02:00