1
0
Fork 0
mirror of synced 2025-03-30 03:30:13 +03:00
doctrine2/tests/Doctrine/Tests/ORM
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
..
Criteria [2.0] Cleanups, build fixes. 2009-06-15 18:25:47 +00:00
Entity Removed AllTests files and Suites 2011-06-18 22:49:25 +02:00
Event [DDC-1415] Add EntityEventDelegatee, allowing to restrict emitting events to certain entity classes only. 2011-10-13 22:58:22 +02:00
Functional 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
Hydration Last change from assertTrue($a instanceof $b) to assertInstanceOf 2011-07-27 08:54:06 +02:00
Id Removed AllTests files and Suites 2011-06-18 22:49:25 +02:00
Mapping DDC-1418 - Add simplified XML and YAML drivers ported from the Symfony project, thanks Fabien 2011-10-13 23:39:11 +02:00
Performance Removed AllTests files and Suites 2011-06-18 22:49:25 +02:00
Proxy Removed AllTests files and Suites 2011-06-18 22:49:25 +02:00
Query Removed invalid default argument. 2011-10-15 00:21:11 -03:00
Tools Fixed bug with orphanRemoval not removing associated Entity on OneToMany and OneToOne relationships. As defined in ClassMatedataInfo, in these situations, when orphanRemoval=true, cascade=remove is implicit. This fixes DDC-1321. 2011-09-06 01:58:16 -03:00
CommitOrderCalculatorTest.php [2.0] Started to simplify commit order calculation. 2009-07-27 09:50:22 +00:00
EntityManagerTest.php Change from assertType to assertInstanceOf. 2011-07-26 11:38:09 +02:00
PersistentCollectionTest.php Improving API and docblocks. Removing superfluous tests. 2010-08-09 22:48:07 +02:00
QueryBuilderTest.php [DDC-1237] Fixed issue with QueryBuilder where user may have includes nested complex expression in a string format while consuming a composite expression (AND or OR). 2011-07-03 01:48:18 -03:00
UnitOfWorkTest.php [DDC-119] Fixed. 2010-07-15 15:55:45 +02:00