1
0
Fork 0
mirror of synced 2025-04-01 12:26:11 +03:00
doctrine2/lib/Doctrine/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
..
Event Removed svn variable 2011-03-22 08:54:33 -04:00
Id Made DDC-1209 test pass 2011-06-16 08:55:09 -04:00
Internal DDC-1238 - Fixed a bug introduced when refactoring persisters hydration. This occurs when you call $em->clear() and you start accessing a proxy. 2011-07-04 23:19:08 +02:00
Mapping Fixed php notice in ClassMetadataFactory 2011-07-17 19:39:55 +02:00
Persisters Reverted PR #86, which broke our suite. 2011-07-22 11:38:20 -03:00
Proxy DDC-1022 - Call __wakeup() with the same semantics then ClassMetadata::newInstance() does inside UnitOfWork 2011-07-09 12:12:44 +02:00
Query [DDC-551] Added state of the complete filter collection to the EM 2011-08-16 13:34:42 +02:00
Tools DDC-1244 - Fix bug with entities without namespace 2011-07-12 23:43:24 +02:00
AbstractQuery.php [DDC-1148] Implement auto-inference of types in setParameter. 2011-05-12 23:05:45 -03:00
Configuration.php [DDC-551] Initial code for filter functionality 2011-07-22 12:01:33 +02:00
EntityManager.php [DDC-551] Added state of the complete filter collection to the EM 2011-08-16 13:34:42 +02:00
EntityNotFoundException.php [DDC-497][DDC-500][DDC-342] Fixed. Persister polishing and refactoring. More to come for that, but after beta1. 2010-04-26 13:02:30 +02:00
EntityRepository.php Reverted PR #86, which broke our suite. 2011-07-22 11:38:20 -03:00
Events.php DDC-696: Added onClear event 2011-03-21 23:17:08 -04:00
NativeQuery.php Added failing test for DDC-388. Naming refactorings and comment cleanups. 2010-04-13 00:49:19 +02:00
NonUniqueResultException.php [DDC-497][DDC-500][DDC-342] Fixed. Persister polishing and refactoring. More to come for that, but after beta1. 2010-04-26 13:02:30 +02:00
NoResultException.php [DDC-497][DDC-500][DDC-342] Fixed. Persister polishing and refactoring. More to come for that, but after beta1. 2010-04-26 13:02:30 +02:00
OptimisticLockException.php DDC-1240 - Fix optimistic lock exception loosing the message 2011-07-12 22:50:21 +02:00
ORMException.php DDC-1209 tests 2011-06-15 17:15:46 -04:00
PersistentCollection.php DDC-1189 - Bugfix with PersistentCollection#clear() in combination with lazy loading 2011-06-19 09:39:34 +02:00
PessimisticLockException.php [DDC-178] First approach to Locking support 2010-04-08 22:50:06 +02:00
Query.php [DDC-551] Added state of the complete filter collection to the EM 2011-08-16 13:34:42 +02:00
QueryBuilder.php DDC-1227 - Fix regression in QueryBuilder::add() due to Expr\From refactoring. 2011-06-25 10:25:22 +02:00
README.markdown [2.0] Adding blank README files 2010-04-06 03:04:02 +00:00
TransactionRequiredException.php [DDC-178] First approach to Locking support 2010-04-08 22:50:06 +02:00
UnitOfWork.php DDC-1238 - Fixed a bug introduced when refactoring persisters hydration. This occurs when you call $em->clear() and you start accessing a proxy. 2011-07-04 23:19:08 +02:00
Version.php Bump Dev Version to 2.2.0-DEV 2011-07-04 21:34:59 +00:00