Alexander
097d573d26
Merge branch 'master' into DDC-551
...
Conflicts:
lib/Doctrine/ORM/Configuration.php
lib/Doctrine/ORM/Persisters/BasicEntityPersister.php
lib/Doctrine/ORM/Persisters/ManyToManyPersister.php
2011-10-14 12:33:39 +02:00
Christian Raue
1681d8a893
switched 2nd and 3rd argument for SelectExpression's constructor, making the 3rd one optional to keep its signature compatible to previous versions
2011-10-10 14:04:55 +02:00
Guilherme Blanco
ebe933810e
Implemented HIDDEN support in DQL. Fixes DDC-1363.
2011-10-03 02:07:07 -03:00
Guilherme Blanco
80284a273d
Merge pull request #133 from FabioBatSilva/DDC-1335
...
Fixes DDC-1335.
Patch looks perfect to me. @beberlei please merge into 2.1 =)
2011-09-25 14:52:56 -07:00
Benjamin Eberlei
d2cd6560c5
DDC-1337 - Adjust MultiTableUpdateExecutor and MultiTableDeleteExecutor to use AbstractPlatform
2011-09-25 19:01:37 +02:00
Fabio B. Silva
5fe996baf9
change tests for DDC-1135
2011-09-25 12:20:48 -03:00
Fabio B. Silva
f4c5c4ba01
branch for DDC-1335
2011-09-23 18:10:58 -03:00
Guilherme Blanco
9795cb1f0d
Subqueries should never add items to ResultSetMapping. Fixing possible broken inclusion.
2011-09-21 17:35:38 -03:00
Guilherme Blanco
a86038b484
Fixed issue with CaseExpression not working in Subselects.
2011-09-21 17:30:45 -03:00
Alexander
63a3fb5ad8
[DDC-551] Moved SQLFilter logic to a separate FilterCollection class
2011-09-15 21:38:47 +02:00
Guilherme Blanco
a7f3af8328
Added IDENTITY DQL Function. Fixes DDC-1339.
2011-09-08 02:10:48 -03:00
Guilherme Blanco
e3d133af04
Added getQuotedTableName() in missing places of Doctrine ORM. Fixes DDC-1365.
2011-09-07 01:48:19 -03:00
Guilherme Blanco
6bbf2d9da3
Added support for ResultVariable referencing in ArithmeticPrimary. Fixes DDC-1346.
2011-09-05 03:16:01 -03:00
Guilherme Blanco
e7f471ef3e
Fixed issue with CTI during DQL update that was incorrectly setting parameter types during multi table execution. Fixes DDC-1341.
2011-08-28 13:48:15 -03:00
Alexander
ed0fb4ece7
Merge branch 'master' into DDC-551
...
Conflicts:
lib/Doctrine/ORM/Persisters/OneToManyPersister.php
2011-08-16 16:59:48 +02:00
Alexander
2653d735e2
[DDC-551] Added state of the complete filter collection to the EM
...
Previously it was sufficient to use the old parser result for a Query if
the DQL didn't change (Query::STATE_CLEAN), but now there must also be
no changes to the filter collection of the EntityManager.
In the old situation each Query object would create a hash of all the
filter objects on it's own. That was not very efficient.
This commit adds the state of the current filter collection to the
EntityManager. The state will be set to FILTERS_STATE_DIRTY as a filter
is enabled, removed or a parameter is set on a filter. The hash is also
computed by the EntityManager, but only if the filter collection is
dirty. This will prevent recalculation of the hash with each query.
2011-08-16 13:34:42 +02:00
Alexander
3b1ddb0346
[DDC-551] Added filters to SQLWalker
2011-08-16 12:21:43 +02:00
Guilherme Blanco
6857134f36
Fixed issue with duplicated commas if Entity has no fields.
2011-08-15 12:47:17 -03:00
Guilherme Blanco
f148912a28
[DDC-934][DDC-1100][DDC-1331] Implemented support to multi-values in INSTANCE OF expression.
2011-08-15 01:53:56 -03:00
Guilherme Blanco
a0ca506db7
Added support to SingleValuePathExpression in ORDER BY.
2011-08-14 00:46:02 -03:00
Guilherme Blanco
816ce41f63
Added support to CaseExpression. Added support to nest AndX and OrX QueryBuilder composite expressions, since they do not mess with generated queries.
2011-08-08 02:09:25 -03:00
Benjamin Eberlei
8f589e5876
Merge pull request #92 from mridgway/DDC-1275
...
DDC-1275: Added join columns to result set mapping
2011-07-28 14:18:55 -07:00
Michael Ridgway
1250cd7a5a
F[DDC-1275] ixed check for owning side of a toOne relationship
2011-07-28 10:50:22 -04:00
Benjamin Eberlei
196632978c
DDC-1298 - Fix bug in SQLWalker with derived entities that have no fields of their own.
2011-07-27 23:22:20 +02:00
Michael Ridgway
154fd60d85
DDC-1275: Added join columns to result set mapping
2011-07-26 17:35:06 -04:00
Alexander
6cf7bdc2b7
Merge branch 'master' into DDC-551
2011-07-26 17:26:00 +02:00
Alexander
65f7e897b5
[DDC-1294] Add discriminator information to subselects
2011-07-26 00:19:26 +02:00
Alexander
4266ab77b2
[DDC-551] Added __toString() method to SQLFilter
2011-07-22 14:55:00 +02:00
Alexander
4cf63a4e83
[DDC-551] Fixed the escaping of filter parameters
2011-07-22 14:51:30 +02:00
Alexander
d1908f7207
[DDC-551] Keep filter parameters and enabled filters sorted for hashing
2011-07-22 14:36:14 +02:00
Alexander
277fc751b6
[DDC-551] Added tests for SQLFilter
2011-07-22 13:51:26 +02:00
Alexander
b867744f15
[DDC-551] Added tests for SQLFilter functionality + small fixes
2011-07-22 13:08:49 +02:00
Alexander
a85902b08d
[DDC-551] Initial code for filter functionality
2011-07-22 12:01:33 +02:00
Guilherme Blanco
550fcbc17f
[DDC-1237] Fixed issue with QueryBuilder where user may have includes nested complex expression in a string format while consuming a composite expression (AND or OR).
2011-07-03 01:48:18 -03:00
Benjamin Eberlei
ed516edf90
Fix discriminator casing problem in Oracle
2011-06-26 17:49:34 +02:00
Benjamin Eberlei
c7c430032c
DDC-1211 - Fix bug with empty numeric literal
2011-06-19 10:17:35 +02:00
Guilherme Blanco
699ccfddb6
Implemented COALESCE and NULLIF support in DQL.
2011-06-17 16:16:22 -03:00
Guilherme Blanco
626e467a17
Implemented COALESCE and NULLIF support in DQL.
2011-06-17 16:15:19 -03:00
Benjamin Eberlei
1038a866a4
DDC-1194 - Improve error handling for DQL INSTANCE OF
2011-06-05 10:48:21 +02:00
Benjamin Eberlei
9ea03de84f
DDC-1080 - Fix bug with hydration of derived entities/foreign key as primary key.
2011-05-17 23:42:24 +02:00
Guilherme Blanco
8e3fdc5adc
[DDC-1148] Implement auto-inference of types in setParameter.
2011-05-12 23:05:45 -03:00
Guilherme Blanco
905e05cd36
[DDC-1067][DDC-1145] Fixed bug with multiple froms and inclusion of joins. Added support for index by in QueryBuilder. This break BC only if users are using base support (->add).
2011-05-11 21:40:27 -03:00
Guilherme Blanco
54a0109d5d
[DDC-1147] Allowed usage of 0-based input parameters in DQL.
2011-05-11 17:30:42 -03:00
Guilherme Blanco
b025b2b343
Fixed where componentes (ie. MEMBER OF) that that are sensitive to parenthesis presence. Made OR and AND expressions smarter. Fixed related unit tests.
2011-05-07 20:14:04 -03:00
Benjamin Eberlei
c53baa9935
[DDC-1091] Fix bug with custom string functions in StringPrimary
2011-05-01 11:01:30 +02:00
Benjamin Eberlei
85d6b9fd39
Merge pull request #42 from mridgway/DDC-1059.
...
DDC-1059: RSM Helper
2011-04-30 15:01:25 -07:00
Benjamin Eberlei
67b89eaa4f
[DDC-1108] Fix bug with single char named input parameters in DQL lexer.
2011-04-30 12:27:16 +02:00
Michael Ridgway
af4cf0d0ba
Replaced prefix parameter with renamedColumns; Added exception when duplicate columns found
2011-04-14 20:55:03 -04:00
Chekote
5784c7bacd
Fixed phpdoc on Parser::match incorrectly stating that the token parameter can be a string value
2011-04-01 12:54:12 -05:00
Michael Ridgway
b1b17376ff
Removing left over class import
2011-03-31 17:22:13 -04:00