Matthieu Napoli
c2d9197900
Fix and test for DDC-2073
2012-11-06 15:12:19 +01:00
Matthieu Napoli
e15cf324c3
Fix and test for DDC-2073
2012-11-06 15:05:53 +01:00
Guilherme Blanco
d6d5c341e2
Merge pull request #486 from FabioBatSilva/DDC-2084
...
Fix DDC-2084
2012-11-05 16:38:35 -08:00
Guilherme Blanco
262c3eea6b
Merge pull request #506 from FabioBatSilva/DDC-2121
...
Fix DDC-2121
2012-11-05 16:27:34 -08:00
Fabio B. Silva
62f43e6ea2
remove require_once
2012-11-05 22:23:44 -02:00
Fabio B. Silva
a09a5b9b7b
Fix DDC-2084
2012-11-05 22:23:44 -02:00
Guilherme Blanco
7a895209e3
Merge pull request #502 from gwis/master
...
Fix for invalid 'double-ON' SQL generation with entity inheritance type JOINED.
2012-11-05 16:15:45 -08:00
Guilherme Blanco
283ed55824
Merge pull request #504 from nemekzg/DDC-1241
...
Proposed fix for DDC-1241
2012-11-05 16:14:48 -08:00
Fabio B. Silva
2f7e970c5f
Fix DDC-2121
2012-11-05 21:53:07 -02:00
nemekzg
9705ee89d9
Proposed fix for DDC-1241
2012-11-05 19:55:54 +01:00
Gordon Stratton
9e916a2893
Fix for invalid 'double-ON' SQL generation with entity inheritance type JOINED.
...
In SqlWalker::walkJoin(), SqlWalker::walkRangeVariableDeclaration() can be
called which may produce an 'ON' clause if the entity inheritance type is
JOINED. As walkJoin() may then produce another ON clause, this results in
invalid SQL (e.g. '... ON foo = bar ON (baz = quux) ...' when the inheritance
type is JOINED.
This adds a test and a fix for the problem, by checking for an inheritance type
of JOINED in walkJoin() and using AND instead of ON in the appropriate place.
It seems like this part of the code is begging to be refactored. This is my
first foray into Doctrine internals and can't see a way to do this without
stomping all over the rest of the code, but this section seems ripe for cleanup
by somebody who is familiar.
2012-11-05 01:19:25 -08:00
Christophe Coevoet
1b01a074dc
Fixed the testsuite
2012-11-03 17:07:56 +01:00
Guilherme Blanco
7d7287a1ba
Merge pull request #434 from bamarni/filter-objects
...
allowed to pass filter objects to the configurator
2012-11-02 17:52:23 -07:00
Guilherme Blanco
ec1950d3ca
Merge pull request #448 from stefanklug/master-parserFix
...
Fixed Parser problem for SELECT (((3))) as ....
2012-11-02 17:46:43 -07:00
Vaughn Clayton
ae30ce4596
[DDC-2113] Surround WHERE clause with parens if using SQLFilter
2012-11-02 08:48:57 -04:00
Martin Hasoň
7f33143502
Added NOT LIKE expression
2012-10-25 12:58:19 +02:00
Guilherme Blanco
cd7ef6e7a7
Merge pull request #484 from jappie/master
...
Prevented "Undefined index" notice when updating
2012-10-21 18:35:38 -07:00
Guilherme Blanco
814f2f9e03
Merge pull request #487 from FabioBatSilva/DDC-2069
...
Fix DDC-2069
2012-10-20 20:00:54 -07: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
Fabio B. Silva
86fddfed9a
Fix DDC-2069
2012-10-20 00:28:38 -03:00
Jasper N. Brouwer
1a17b1670b
Added testcase for DDC-2086
2012-10-19 09:15:07 +02:00
Stefan Klug
d344407636
added test case
2012-10-08 13:49:31 +02:00
Benjamin Eberlei
235ad8e553
[DDC-2052] Add SqlWalker::setQueryComponent() to allow modification of the query component in a custom output walker
2012-10-06 11:16:16 +02:00
Benjamin Eberlei
a67a6aa685
Merge pull request #414 from cordoval/DDC-1872
...
[DDC-1872] Overriding Mapping Annotations
2012-10-06 01:35:47 -07:00
Benjamin Eberlei
44c0ca4d3c
[DDC-2059] Fix column and foreign key interfering with each other during reverse engineering.
2012-10-05 20:03:51 +02:00
Benjamin Eberlei
a0440b63bb
Merge pull request #462 from doctrine/DDC-2055
...
[DDC-2055] Generate SELECT clause from ResultSetMappingBuilder
2012-10-05 09:46:37 -07:00
Benjamin Eberlei
13762f20c9
Merge pull request #422 from FabioBatSilva/DDC-1574
...
DDC-1574 - "new" operator
2012-10-05 07:31:18 -07:00
Benjamin Eberlei
913377e31b
[DDC-2055] Add support to generate entity result parts of the SELECT clause from a ResultSetMappingBuilder instance. Add support for column incrementing.
2012-10-03 12:35:14 +02:00
Fabio B. Silva
5cb4466f7c
Fix test case
2012-09-30 15:47:00 -03:00
Fabio B. Silva
4510f5a5b8
Fix DDC-2012
2012-09-30 15:40:19 -03:00
Fabio B. Silva
7c754e495e
support namespace alias
2012-09-29 16:19:03 -03:00
Fabio B. Silva
1bd6e841bf
Fix some CS
2012-09-29 16:19:02 -03:00
Fabio B. Silva
de93983dff
assume entity namespace when not given
2012-09-29 16:19:02 -03:00
Fabio B. Silva
3aa8d3fdac
test constructor exceptions
2012-09-29 16:19:01 -03:00
Fabio B. Silva
4dca27962e
support multiple operators
2012-09-29 16:19:01 -03:00
Fabio B. Silva
6844116b94
test case expression
2012-09-29 16:19:00 -03:00
Fabio B. Silva
f0403a5394
test literal values
2012-09-29 16:19:00 -03:00
Fabio B. Silva
e5e45a3a5c
test sql generation
2012-09-29 16:18:59 -03:00
Fabio B. Silva
ddb2651691
fix tests on postgres
2012-09-29 16:18:59 -03:00
Fabio B. Silva
af2f556fd3
small refactory
2012-09-29 16:18:59 -03:00
Fabio B. Silva
b19e4a6440
support arithmetic expression and aggregate functions
2012-09-29 16:18:58 -03:00
Fabio B. Silva
88f04b5ebd
parse nested new operators
2012-09-29 16:18:58 -03:00
Fabio B. Silva
2b403b7dad
basic support refactory
2012-09-29 16:18:58 -03:00
Fabio B. Silva
0fbb78e61a
basic support, need some code refactory and improvements
2012-09-29 16:18:57 -03:00
Fabio B. Silva
ed89695a8c
collect new object parameters
2012-09-29 16:18:57 -03:00
Fabio B. Silva
0e60c50c5e
small code refactoring
2012-09-29 16:18:56 -03:00
Fabio B. Silva
0c1a8cd43f
sql generation
2012-09-29 16:18:56 -03:00
Fabio B. Silva
ee7b5da64a
start work
2012-09-29 16:18:56 -03:00
Stefano Rodriguez
9a14b40495
use of assertCount
2012-09-07 14:44:18 +02:00