1
0
Fork 0
mirror of synced 2025-04-01 20:36:14 +03:00
doctrine2/tests/Doctrine/Tests/ORM
Alexander 2653d735e2 [DDC-551] Added state of the complete filter collection to the EM
Previously it was sufficient to use the old parser result for a Query if
the DQL didn't change (Query::STATE_CLEAN), but now there must also be
no changes to the filter collection of the EntityManager.

In the old situation each Query object would create a hash of all the
filter objects on it's own. That was not very efficient.

This commit adds the state of the current filter collection to the
EntityManager. The state will be set to FILTERS_STATE_DIRTY as a filter
is enabled, removed or a parameter is set on a filter. The hash is also
computed by the EntityManager, but only if the filter collection is
dirty. This will prevent recalculation of the hash with each query.
2011-08-16 13:34:42 +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
Functional [DDC-551] Added state of the complete filter collection to the EM 2011-08-16 13:34:42 +02:00
Hydration Removed AllTests files and Suites 2011-06-18 22:49:25 +02:00
Id Removed AllTests files and Suites 2011-06-18 22:49:25 +02:00
Mapping DDC-1204, DDC-1203 - No need to throw this exception for abstract classes anymore 2011-06-30 20:57:29 +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 [DDC-1294] Added more tests for subselects in subselects 2011-07-26 17:15:21 +02:00
Tools DDC-1268 - Singular add*() method name through using targetEntity shortname 2011-07-12 23:25:15 +02:00
CommitOrderCalculatorTest.php [2.0] Started to simplify commit order calculation. 2009-07-27 09:50:22 +00:00
EntityManagerTest.php Implemented support for closure return on EntityManager::transactional. Fixes DDC-1125 2011-04-25 18:32:43 -03: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