1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/lib/Doctrine/ORM
Sander Marechal edd5d14b06 Pagination using SQL walkers
A CountSqlWalker and LimitSubquerySqlWalker have been implemented. By
default the Paginator will use these SQL walkers. When a query already
uses custom SQL walkers, the Paginator will fall back to the existing
TreeWalker implementations. Improvements:

* Support for more complex DQL queries using named mixed results with
  GROUP BY and HAVING. For example:

  SELECT g, u, COUNT(u.id) AS userCount
      FROM Entity\Group g LEFT JOIN g.users u
      GROUP BY g.id
      HAVING userCount > 0

* Support for entities with composite primary keys in the CountSqlWalker
  and LimitSubquerySqlWalker. Only the WhereInWalker still needs to be
  updated for full composite primary key support. But someone smarter
  than me needs to look at that and figure out how to build a WHERE IN
  query that can select rows based on multiple columns.
2012-03-06 16:24:44 +01:00
..
Event Fix typo in LifecycleEventArgs::getEntity() docs 2012-03-01 17:03:46 -05:00
Id Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
Internal [DDC-1652] Fix SqlWalker to include foreign key identifiers in SQL SELECT statement no matter what the meta column setting is suggesting. 2012-02-20 17:48:34 +01:00
Mapping [DDC-1668] Fix problem with the is_int fowards compatibility check. Its not really necesssary anymore, we should remove this code in the future. 2012-03-03 22:24:51 +01:00
Persisters [DDC-1643] Fix bugs when cloning PersistentCollection and re-using it. 2012-02-18 00:42:21 +01:00
Proxy [DDC-1673] Fixed unused in ProxyFactory. 2012-03-03 13:16:26 -05:00
Query Moved SQRT function to Platform. 2012-03-03 23:10:56 -05:00
Tools Pagination using SQL walkers 2012-03-06 16:24:44 +01:00
AbstractQuery.php [DDC-1651] Convert entities as parameters early in setParameter() to avoid them being part of result cache strings, which causes non-uniqueness. 2012-02-18 16:07:55 +01:00
Configuration.php move naming classes to Doctrine\ORM\Mapping 2011-12-24 12:01:25 -02:00
EntityManager.php error messages 2011-12-22 11:05:11 -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 DDC-1519 - Fix bug in merging of entities that contain foreign identifiers 2011-12-15 20:49:25 +01:00
Events.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
NativeQuery.php More refactorings and optimizations. 2011-12-01 10:00:26 -05:00
NonUniqueResultException.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
NoResultException.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
OptimisticLockException.php DDC-1240 - Fix optimistic lock exception loosing the message 2011-07-12 22:50:21 +02:00
ORMException.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
ORMInvalidArgumentException.php error messages 2011-12-22 11:05:11 -02:00
PersistentCollection.php [DDC-1654] Add support for orphanRemoval on ManyToMany associations. This only makes sense when ManyToMany is used as uni-directional OneToMany association with join table. The join column has a unique constraint on it to enforce this on the DB level, but we dont validate that this actually happens. Foreign Key constraints help prevent issues and notify developers early if they use it wrong. 2012-02-20 10:33:16 +01:00
PessimisticLockException.php [DDC-178] First approach to Locking support 2010-04-08 22:50:06 +02:00
Query.php [DDC-1651] Convert entities as parameters early in setParameter() to avoid them being part of result cache strings, which causes non-uniqueness. 2012-02-18 16:07:55 +01:00
QueryBuilder.php [DDC-1619] Add QueryBuilder#distinct 2012-01-25 10:19:01 +01: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 Merge pull request #256 from F5/many_to_many_listeners 2012-03-03 13:13:09 -08:00
Version.php Bump dev version to 2.2.0 2012-01-03 22:27:03 +01:00