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
Benjamin Eberlei
299def4712
DDC-1641 - Fix test producing failure when skipped.
2012-02-10 21:39:17 +01:00
Benjamin Eberlei
3c4d2cd890
Merge pull request #253 from mrmkrs/protectedfields
...
enable set visibilty of class fields in EntityGenerator
2012-01-28 13:13:37 -08:00
Benjamin Eberlei
2ce705ceb3
Merge pull request #272 from jsor/table_options
...
Implement custom options on table level and complete column options implementation
2012-01-28 12:56:19 -08:00
Benjamin Eberlei
551df4af52
[DDC-1617] Implement support for Generating Unique Constraints/Indexes in @Table annotation of EntityGenerator.
2012-01-28 11:16:36 +01:00
Jan Sorgalla
d68fcd8bd2
Implement custom options on table level
2012-01-26 15:05:26 +01:00
Sander Marechal
c6c82efe07
Fixed indentation
2012-01-23 16:11:30 +01:00
Sander Marechal
5dc0081f56
Add support for paginating WHERE NOT ... queries
...
The Pagination tool throws an exception on a DQL query like:
SELECT u FROM User u WHERE NOT (u INSTANCE OF Person)
This is because Paginate does not know about the
Doctrine\ORM\Query\AST\ConditionalFactor which implements the NOT
operator. This patch adds support for that.
2012-01-23 15:42:41 +01:00
Benjamin Eberlei
775071e1ff
[DDC-1613] Merge KnpLabs/Pagerfanta Pagination into a Doctrine\ORM\Tools\Pagination namespace. Thanks to @hobodave, pablo and the knplabs team for developing and maintaining this code.
2012-01-22 13:35:06 +01:00
Guilherme Blanco
0f07044836
Added coverage to DDC-1587.
2012-01-16 22:31:14 -05:00
Benjamin Eberlei
27451a59d4
Merge pull request #254 from jsor/custom_options
...
Pass options attribute in @Column annotation to Schema\Column's customSchemaOptions
2012-01-15 09:06:46 -08:00
Benjamin Eberlei
9950af2f58
[DDC-1601] Fix failing test and remove unused code
2012-01-15 12:12:08 +01:00
Marcel
69f0d70a98
fix if coding standard
...
fix typo
2012-01-13 14:14:28 +01:00
Marcel
f26d43b3ea
remove whitespace
...
tabs -> spaces
added class constants
updated phpdoc
2012-01-13 11:24:35 +01:00
jsor
615e22073f
Pass options attribute in @Column annotation to Schema\Column's customSchemaOptions
2012-01-11 15:58:57 +01:00
Marcel Raaijmakers
facd64ef2f
enable set visibilty of class fields in EntityGenerator
2012-01-06 16:58:27 +01:00
Benjamin Eberlei
76e4f5a80b
DCOM-93 - Removed reflection dependency from ClassMetadata completly, moving all the code into ClassMetadataInfo for BC reasons.
2012-01-02 21:32:18 +01:00