1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Functional
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
..
Locking Merge Improve Error Messages into 2.2 2011-12-21 23:56:25 +01:00
SchemaTool Fixed roken MySQL test. 2012-03-05 01:54:43 -05:00
Ticket [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
AbstractManyToManyAssociationTestCase.php [2.0] Changed Connection::execute() to Connection::executeQuery() as defined as a todo. 2010-03-31 21:13:34 +00:00
AdvancedAssociationTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
AdvancedDqlQueryTest.php [DDC-619] Removed support to complex PathExpressions. 2010-07-23 01:55:33 -03:00
BasicFunctionalTest.php [DDC-1612] Fix bug with EntityManager#flush($entity) on new entities. 2012-01-21 13:06:30 +01:00
ClassTableInheritanceTest2.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
ClassTableInheritanceTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
ClearEventTest.php Clean up of test case 2011-03-21 23:30:10 -04:00
CompositePrimaryKeyTest.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
CustomTreeWalkersTest.php DDC-1384 - Fix a bunch of Oracle test failures 2011-10-29 20:42:44 +02:00
DatabaseDriverTest.php Fix mysql testsuite 2011-10-23 22:06:03 +02:00
DefaultValuesTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
DetachedEntityTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
EntityRepositoryTest.php DDC-1500 - Fix potential security problem in EntityRepository ORDER BY orientations 2011-11-21 15:04:46 +01:00
ExtraLazyCollectionTest.php Fixed DDC-1608. Non-initialized PersistentCollection methods removeElement and contains now deal correctly with managed entities. 2012-01-18 01:04:25 -05:00
FlushEventTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
IdentityMapTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
IndexByAssociationTest.php [DDC-250] Add tests and fix some glitches and finalized index-by patch. 2011-02-05 11:42:10 +01:00
LifecycleCallbackTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
ManyToManyBasicAssociationTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
ManyToManyBidirectionalAssociationTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
ManyToManyEventTest.php UnitTest for ManyToMany update notification 2012-01-13 09:35:27 -03:00
ManyToManySelfReferentialAssociationTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
ManyToManyUnidirectionalAssociationTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
MappedSuperclassTest.php DDC-1477 - Adjust patch to really fix bug in Proxy generation 2011-11-13 17:16:43 +01:00
NativeQueryTest.php DDC-1384 - Fix a bunch of Oracle test failures 2011-10-29 20:42:44 +02:00
NotifyPolicyTest.php [DDC-119] Fixed. 2010-07-15 15:55:45 +02:00
OneToManyBidirectionalAssociationTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
OneToManyOrphanRemovalTest.php DDC-1496 - Fix bug with OneToMany collections having orphanRemoval=true and Collection#clear() being called. 2011-11-18 15:44:06 +01:00
OneToManySelfReferentialAssociationTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
OneToManyUnidirectionalAssociationTest.php Fixed failing tests in PHPUnit 3.6.2 (expecting \Exception was deprecated) 2011-11-09 08:20:35 +01:00
OneToOneBidirectionalAssociationTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
OneToOneEagerLoadingTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
OneToOneOrphanRemovalTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
OneToOneSelfReferentialAssociationTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
OneToOneUnidirectionalAssociationTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
OrderedCollectionTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
OrderedJoinedTableInheritanceCollectionTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
PaginationTest.php Pagination using SQL walkers 2012-03-06 16:24:44 +01:00
PersistentObjectTest.php DDC-1448 - Add support for ObjectManagerAware interface and PersistentObject in ORM 2011-11-19 13:06:24 +01:00
PostFlushEventTest.php Fix testsuite 2011-10-23 21:37:29 +02:00
PostgreSQLIdentityStrategyTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
QueryCacheTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
QueryDqlFunctionTest.php fix QueryDqlFunctionTest#testFunctionSubstring order 2011-12-23 14:57:43 -02:00
QueryTest.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
ReadOnlyTest.php [DDC-1659] Remove read only marker when clearing entities. 2012-02-20 09:36:35 +01:00
ReferenceProxyTest.php Proxy not initialized when parent has get<IDENTIFIER> function. Fixes DDC-1625 2012-01-30 11:44:08 +01:00
ResultCacheTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
SchemaValidatorTest.php [DDC-1601] Fix bugs in SchemaValidator, using all modelsets as testdata for a large test 2012-01-15 11:27:52 +01:00
SequenceGeneratorTest.php [2.0] DDC-390 Fix SequenceGeneratorTest which wasnt testing anything before :-) Now showing that Sequence Generator works with allocation sizes larger than 1 2010-03-20 17:04:46 +00:00
SingleTableInheritanceTest.php [DDC-952] One last commit with some refactorings, additional comments and two new tests. Also added convenience method Query::setFetchMode($className, $assocName) 2011-03-16 22:51:32 +01:00
SQLFilterTest.php Added tests for OneToMany associations and lazy collection to CTI entity 2011-12-22 21:10:13 +01:00
StandardEntityPersisterTest.php Remove all trailing whitespaces 2011-12-19 22:56:19 +01:00
TypeTest.php DDC-1527 - Port bugfix for master branch 2011-12-12 16:39:52 +01:00
TypeValueSqlTest.php fix DDC-1642 2012-02-12 22:24:03 -02:00
UnitOfWorkLifecycleTest.php Improved and extracted UnitOfWork error messages 2011-10-22 12:40:12 +02:00