Guilherme Blanco
78fc129614
Merge pull request #632 from Padam87/entgentrait
...
entity generator - ignore trait properties and methods
2013-07-07 12:37:55 -07:00
Guilherme Blanco
20e5d98b7b
Merge pull request #640 from denkiryokuhatsuden/patch-1
...
[Paginator]Add hidden field ordering for postgresql
2013-06-24 19:23:36 -07:00
Benjamin Eberlei
e3b8ce7737
[DDC-2423] Fixed bug with EntityGenerator not generating fetch="" attribute in association annotations.
2013-05-09 10:55:12 +02:00
Benjamin Eberlei
6d02c7e1a5
[DDC-2136] Fix exporting to YAML and XML with assocation keys.
2013-05-01 23:10:13 +02:00
Adam Prager
bf92a40171
skip test if php 5.3
2013-04-19 14:49:32 +02:00
Raymond Kolbe
27e23faa5a
Accompanying tests for PR #646
2013-04-10 13:07:09 -03:00
Adam Prager
b7b107b08a
moved test entities from sandbox
2013-04-07 16:26:05 +02:00
Adam Prager
3b7b457d35
minor fixes
2013-04-04 20:07:21 +02:00
denkiryokuhatsuden
e54c11e3bb
Add test for postgresql hidden scalar sorting
2013-04-03 17:21:51 +09:00
Adam Prager
b3414e3c1a
added unit test
2013-03-31 00:47:45 +01:00
Benjamin Eberlei
3ba0562006
Merge branch 'GH-572'
2013-03-12 19:04:27 +01:00
Norbert Orzechowicz
6a69b4700c
[DDC-2282] Fix pagination problem with SQL Server.
...
ORDER BY removed from all count queries when on SQL Server
Fixed SQLServer ORDER BY problem in paginator CountOutputWalker
Added test to check query with ORDER BY and SQLServerPlatform
2013-03-12 19:03:27 +01:00
Pascal Borreli
a2cd0f5804
Fixed typos
2013-03-11 00:08:58 +00:00
Benjamin Eberlei
805bb5ff9f
Remove mentions of PEAR installation method, remove code.
2013-02-15 01:04:29 +01:00
Marco Pivetta
673323fc67
Adding warnings about deprecation of GIT, TAR and PEAR autoloading
2013-02-04 23:30:02 +01:00
Marco Pivetta
a928ce48da
Using composer autoloader for the test suite
2013-02-04 21:30:02 +01:00
aleks
206c251090
Add test with mixed sort
2013-01-27 11:40:40 +02:00
aleks
dc190a297d
Fix typo
2013-01-27 11:09:26 +02:00
aleks
6662096ed3
Fix typo
2013-01-26 23:27:38 +02:00
aleks
5e6bc0847f
Added support for order by scalar
2013-01-26 21:31:45 +02:00
aleks
61634950f3
Add test for order by scalar
2013-01-26 21:21:09 +02:00
Francis Besset
56b230a1f0
Fixed typo
2012-12-01 19:41:51 +01:00
Fabio B. Silva
d1dc72b65a
refactoring tests
2012-11-27 14:38:18 -02:00
Fabio B. Silva
41b907606f
Fix DDC-2172
2012-11-27 14:29:02 -02:00
Benjamin Eberlei
f453d6c85b
[DDC-2109] Fix bug with ResolveTargetEntityListener and ManyToMany associations.
2012-11-12 15:48:10 +01:00
Benjamin Eberlei
918ea1cdd8
Merge pull request #449 from mvrhov/DDC-1958
...
Pager fix for DDC-1958
2012-11-12 06:02:32 -08:00
Benjamin Eberlei
624ef309f0
Remove unnecssary code
2012-11-12 15:01:20 +01:00
Benjamin Eberlei
5e2a433828
Inlined Test and Entities into DDC2138Test
2012-11-12 14:59:48 +01:00
Stefano Rodriguez
b1c69ebab9
adedd failing test for PR #440
2012-11-12 14:19:31 +01:00
Miha Vrhovnik
c7a75f477f
The distinct query should replicate the fields in order by clause and the order by clause itself from inner query
...
This fixes DDC-1958
2012-11-12 13:18:46 +01:00
HarmenM
b6b75d3a27
Modified the WhereInWalkerTest to be compatible with a single InputParameter.
2012-11-12 12:30:03 +01:00
Fabio B. Silva
2f7e970c5f
Fix DDC-2121
2012-11-05 21:53:07 -02:00
Christophe Coevoet
1b01a074dc
Fixed the testsuite
2012-11-03 17:07:56 +01:00
Fabio B. Silva
b03388293f
Fix typo
2012-10-20 15:44:09 -03:00
Fabio B. Silva
fb467a1196
Fix DDC-2079
2012-10-20 15:37:13 -03:00
Marco Pivetta
e2c1d7c38a
Removing deprecated StaticPHPDriver and PHPDriver
...
modifying tests so that the new implementation in Doctrine\Common is referenced
2012-07-10 02:31:30 +02:00
Benjamin Eberlei
5cdb0ae8be
[DDC-1907] Add generation of remove method for collections
2012-07-04 21:04:47 +02:00
Benjamin Eberlei
1f2ce21b56
[DDC-1497] Change EntityGenerator add method generation for collections.
2012-05-27 20:31:01 +02:00
Benjamin Eberlei
f55b5411c8
[DDC-1791] Fix OutputWalker Pagination on Oracle
2012-05-27 13:22:48 +02:00
Benjamin Eberlei
548c997f7b
[DDC-1799] Fix bug in YamlExporter using OneToOne instead of ManyToOne
2012-05-27 09:57:46 +02:00
Fabio B. Silva
e9974911fe
fix tests
2012-05-04 21:13:20 -03:00
Fabio B. Silva
67f0722211
change test to uses data provider
2012-05-04 21:13:19 -03:00
Fabio B. Silva
790d98133c
fix DDC-1694
2012-05-04 21:11:51 -03:00
Fabio B. Silva
9b02745cd8
Fix DDC-1784
2012-04-18 20:39:21 -03:00
Sander Marechal
43f97a9abc
CountOutputWalker does not need CountWalker::HINT_DISTINCT
2012-03-12 08:39:28 +01:00
Sander Marechal
53ff312936
Renamed *SqlWalker to *OutputWalker
2012-03-12 08:33:35 +01:00
Sander Marechal
c9d962b12a
Fix indentation
2012-03-07 08:57:51 +01:00
Sander Marechal
d2501a9e4a
Throw exception when using the CountWalker with a HAVING query
2012-03-07 08:42:09 +01:00
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
Benjamin Eberlei
502585bf40
[DDC-1649] Add additional check for not allowed mapping of dependent association keys.
2012-02-20 15:55:18 +01:00