1
0
mirror of synced 2025-02-20 22:23:14 +03:00
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
..
2011-06-16 08:55:09 -04:00
2011-03-21 23:17:08 -04:00
2011-09-24 16:10:10 -03:00
2011-07-04 21:34:59 +00:00

The file is empty.