Guilherme Blanco
|
1635e0af4b
|
[DDC-1840] Implemented parameters as a collection.
|
2012-05-28 12:16:42 -04:00 |
|
Martin Hasoň
|
3d852397db
|
DDC-1802 removed unnecessary tokens T_SIZE and T_MOD
|
2012-05-02 19:10:21 +02:00 |
|
Martin Hasoň
|
3ab6ad23ad
|
DDC-1802 fixed parsing: FunctionDeclaration "NOT" ("LIKE" | "IN" | "BETWEEN")
|
2012-05-02 19:08:27 +02:00 |
|
Guilherme Blanco
|
2811d161bb
|
Merge pull request #309 from FabioBatSilva/DDC-1686
Fix DDC-1686
|
2012-03-25 21:33:43 -07:00 |
|
Fabio B. Silva
|
0f9afbdf0a
|
Fix DDC-1686
|
2012-03-25 00:30:58 -03:00 |
|
Fabio B. Silva
|
df8626b949
|
Fix DDC-1697
|
2012-03-24 22:50:54 -03:00 |
|
Benjamin Eberlei
|
7d7edbbd4a
|
Merge pull request #288 from FabioBatSilva/DDC-775
DDC 775
|
2012-03-22 14:00:48 -07:00 |
|
Benjamin Eberlei
|
18f1d56b60
|
[DDC-1683] Fix bug with booleans not handled by Expr#literal() in query builder.
|
2012-03-14 20:49:25 +01:00 |
|
Fabio B. Silva
|
e46275e80d
|
remove case expressions and functions support
|
2012-03-12 20:26:40 -03:00 |
|
Fabio B. Silva
|
797c9cf70e
|
supports simple math operator
|
2012-03-12 20:26:39 -03:00 |
|
Fabio B. Silva
|
df0632258a
|
Order by clause support case expressions
|
2012-03-12 20:26:38 -03:00 |
|
Fabio B. Silva
|
ce9643bce1
|
Order by clause support functions
|
2012-03-12 20:26:38 -03:00 |
|
Guilherme Blanco
|
7954386705
|
DDC-1696 Allowed Strings to be used inside of Case expressions. It seems this fixes other misterious use cases not yet identified by us.
|
2012-03-11 21:14:08 -04:00 |
|
Benjamin Eberlei
|
79d9c07652
|
[DDC-1693] Fix fatal errors in DQL when using Optimistic or None lock modes. Added tests.
|
2012-03-11 22:29:20 +01:00 |
|
Benjamin Eberlei
|
1bbd52b8ee
|
[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 |
|
Thomas Rabaix
|
d9bb861b1f
|
Fix DDC-1618 - add more check before throwing an iterateWithFetchJoinNotAllowed exception
|
2012-01-25 00:03:40 +01:00 |
|
Guilherme Blanco
|
febfe35c23
|
Added coverage for DDC-1529.
|
2012-01-18 23:51:11 -05:00 |
|
Benjamin Eberlei
|
adec530c13
|
Merge branch '2.2'
|
2012-01-09 08:26:33 +01:00 |
|
Benjamin Eberlei
|
41ae873048
|
DDC-1588 - Improve ResultCache API. The default cache impl is passed to new query cache profiles automatically now.
|
2012-01-09 08:26:07 +01:00 |
|
Guilherme Blanco
|
9f3967d65d
|
Merge pull request #245 from milokmet/DDC-1572
[DDC-1572] Allow LIKE pattern to be a function or path expression
|
2011-12-30 20:17:38 -08:00 |
|
Miloslav Kmet
|
ae4321b4e3
|
[DDC-1572] Allow LIKE pattern to be a function or path expression
|
2011-12-29 19:51:48 +01:00 |
|
Fabio B. Silva
|
bf8924df14
|
some tests
|
2011-12-29 14:47:23 -02:00 |
|
Fabio B. Silva
|
4cc61bf2ee
|
fix DDC-1557
|
2011-12-29 14:30:29 -02:00 |
|
Fabio B. Silva
|
24dc74a800
|
Fixed DDC-1539
|
2011-12-20 10:31:00 -02:00 |
|
Benjamin Eberlei
|
cd6131c9b8
|
Remove all trailing whitespaces
|
2011-12-19 22:56:19 +01:00 |
|
Fabio B. Silva
|
5c89d7ffcb
|
support for bit comparison
|
2011-12-19 16:24:16 -02:00 |
|
Guilherme Blanco
|
0380d5ae58
|
Implemented multiple enhancements in InExpression support for DQL. Fixed DDC-1472 and DDC-1416.
|
2011-12-04 02:41:54 -05:00 |
|
Guilherme Blanco
|
2f6b930a8d
|
Implemented missing support in CollectionMemberComparison. Removed old todo in ArrayHydrator. Finished implementation of IdentificationVariable in ArithmeticPrimary.
|
2011-12-03 15:19:21 -05:00 |
|
Guilherme Blanco
|
2642daa438
|
Fixed DDC-1236: GROUP BY now supports ResultVariable and IdentificationVariable. Composite PK is also supported. If you are willing to group by an aggregate function or a function itself, just place it in SELECT expression then refer to it in the GROUP BY clause. If you are not willing to have the function being part of your resultset, just mark the column as HIDDEN and you are done.
|
2011-12-01 23:52:35 -05:00 |
|
jsor
|
16aa558292
|
Remove sql conversion from where clauses and update statements
|
2011-11-21 15:08:36 +01:00 |
|
Jan Sorgalla
|
6f35679911
|
Initial implementation of Doctrine\DBAL\Types\Type::convertToDatabaseValueSQL() and Doctrine\DBAL\Types\Type::convertToPHPValueSQL() integration
|
2011-11-19 00:35:29 +01:00 |
|
Fabio B. Silva
|
aeb2ab132b
|
group by all fields when entity has foreign keys
|
2011-11-15 20:27:45 -02:00 |
|
Benjamin Eberlei
|
2d14be86f3
|
Merge pull request #192 from FabioBatSilva/DDC-1474
DDC-1474
|
2011-11-15 12:10:19 -08:00 |
|
Fabio B. Silva
|
08edf34057
|
move tests to SelectSqlGenerationTest
|
2011-11-15 17:27:17 -02:00 |
|
Fabio B. Silva
|
3dd5d14977
|
Fixed DDC-1430
|
2011-11-15 14:28:57 -02:00 |
|
Guilherme Blanco
|
3c31d88810
|
Major optimizations in SqlWalker code, reducing overhead, reducing lookahead checks.
|
2011-11-03 02:44:50 -02:00 |
|
Benjamin Eberlei
|
64d405f7dd
|
Merge origin/master into DDC-1384
|
2011-10-30 12:12:18 +01:00 |
|
Benjamin Eberlei
|
50e028212d
|
DDC-1384 - Fix a bunch of Oracle test failures
|
2011-10-29 20:42:44 +02:00 |
|
Guilherme Blanco
|
0ec2cc557f
|
Implemented support to entities with association marked as @Id support in many situations. Fixed DDC-1435.
|
2011-10-29 02:00:35 -02:00 |
|
Guilherme Blanco
|
3745e948c6
|
Made SimpleSelectExpression (Literal) be included as a scalar result. More general SQL Walker optimizations.
|
2011-10-28 14:25:12 -02:00 |
|
Guilherme Blanco
|
1f06e9fca5
|
Fixed issue with SimpleSelectExpression containing Literals. This issue is related to a previously fixed ticket DDC-1079.
|
2011-10-28 12:56:14 -02:00 |
|
Alexander
|
079e2b1302
|
[DDC-1384] Fix for generating sql with aliases not longer than MaxIdentifierLength
|
2011-10-22 16:27:56 +02:00 |
|
Guilherme Blanco
|
33bcf7ad6f
|
Added coverage to DDC-1161.
|
2011-10-16 01:42:36 -02:00 |
|
Guilherme Blanco
|
2518f0687c
|
Removed invalid default argument.
|
2011-10-15 00:21:11 -03:00 |
|
Guilherme Blanco
|
f86e1ba66c
|
Added tests for DDC-1389. Everything is working in 2.2-DEV.
|
2011-10-15 00:18:57 -03:00 |
|
Guilherme Blanco
|
a86038b484
|
Fixed issue with CaseExpression not working in Subselects.
|
2011-09-21 17:30:45 -03:00 |
|
Guilherme Blanco
|
a7f3af8328
|
Added IDENTITY DQL Function. Fixes DDC-1339.
|
2011-09-08 02:10:48 -03:00 |
|
Guilherme Blanco
|
bd5393a318
|
Added coverage for orphanRemoval in OneToOne when unlinking an entity.
|
2011-09-07 13:12:02 -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 |
|
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
|
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 |
|
Alexander
|
97a4dbf2cd
|
[DDC-1294] Added more tests for subselects in subselects
|
2011-07-26 17:15:21 +02:00 |
|
Alexander
|
65f7e897b5
|
[DDC-1294] Add discriminator information to subselects
|
2011-07-26 00:19:26 +02:00 |
|
Benjamin Eberlei
|
fa7574b2ba
|
Removed AllTests files and Suites
|
2011-06-18 22:49:25 +02:00 |
|
Guilherme Blanco
|
699ccfddb6
|
Implemented COALESCE and NULLIF support in DQL.
|
2011-06-17 16:16:22 -03:00 |
|
Benjamin Eberlei
|
1038a866a4
|
DDC-1194 - Improve error handling for DQL INSTANCE OF
|
2011-06-05 10:48:21 +02: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
|
67b89eaa4f
|
[DDC-1108] Fix bug with single char named input parameters in DQL lexer.
|
2011-04-30 12:27:16 +02:00 |
|
Benjamin Eberlei
|
bda15231da
|
[DDC-1077] Bugfix in not handling literals in Select Expressions.
|
2011-03-27 21:10:50 +02:00 |
|
Benjamin Eberlei
|
6ed0ff0a12
|
[DDC-1079] Bugfix for shortcut for ArithmeticExpressions in SimpleSelectExpression that lead to literals not being valid. Problem was that ScalarExpression() did not handle AggregateExpressions() at all, which is now fixed.
|
2011-03-27 14:04:53 +02:00 |
|
Benjamin Eberlei
|
edfdbe10a0
|
[DDC-1053] Fix bug with usage of identification variables in GroupByItem.
|
2011-03-20 14:07:33 +01:00 |
|
Guilherme Blanco
|
834203d868
|
[DDC-1012] Implemented Expr isNull and isNotNull.
|
2011-02-20 01:53:55 -03:00 |
|
Guilherme Blanco
|
505d9e2154
|
[DDC-1036] Modified the AggregateExpressions to support SimpleArithmeticExpression instead of StateFieldPathExpression.
|
2011-02-20 01:44:05 -03:00 |
|
Guilherme Blanco
|
dcf358f154
|
Fixed some warnings from phpunit.
|
2011-02-19 19:50:58 -02:00 |
|
Benjamin Eberlei
|
f1809ce180
|
DDC-968 - Add AbstractQuery::getHints() method
|
2011-01-23 16:47:07 +01:00 |
|
Benjamin Eberlei
|
078e19d1c7
|
DDC-980 - Fix Update and Delete statements reference of the root table when doing subselects.
|
2011-01-13 21:16:08 +01:00 |
|
Benjamin Eberlei
|
194a90923d
|
DDC-117 - Finalize patch, fix all the problems of different use-cases by hugely expanding the test-model.
|
2011-01-01 18:17:19 +01:00 |
|
Benjamin Eberlei
|
fe672d2f61
|
DDC-617 - Throw error if selecting identification variables without picking at least one root entity alias.
|
2010-12-28 10:17:33 +01:00 |
|
Benjamin Eberlei
|
e142bd1f30
|
Merge and modify juokazs Sqlsrv changes
|
2010-11-18 23:14:07 +01:00 |
|
Benjamin Eberlei
|
97b80d69f1
|
Fix several test-issues after upgrading dependencies and a Bug in a SchemaTool and DatabaseDriver
|
2010-11-18 23:07:32 +01:00 |
|
Juozas Kaziukenas
|
831b40e093
|
Fixes required for Microsoft SQL tests
|
2010-11-17 13:18:18 -08:00 |
|
Benjamin Eberlei
|
692c35e7e2
|
DDC-826, DDC-841, DDC-671 - Added another testcase to verify mapped superclass + association dql alias generation
|
2010-10-31 08:13:59 +01:00 |
|
Benjamin Eberlei
|
ee9158ffb4
|
DDC-749 - Refactor Query tests, add a test for setParameters()
|
2010-09-12 22:44:02 +02:00 |
|
Benjamin Eberlei
|
0b5c694a7e
|
DDC-778 - Fix AbstractQuery::__clone implementation that was wrongly implemented in DDC-770. Added more tests.
|
2010-08-30 20:30:11 +02:00 |
|
Benjamin Eberlei
|
8a21ab4755
|
DDC-770 - Cleanup Query instance when its cloned
|
2010-08-27 21:28:26 +02:00 |
|
Guilherme Blanco
|
496a34a4d2
|
[DDC-581] Implemented support to SingleValuedPathExpression to InExpression.
|
2010-08-12 00:16:07 -03:00 |
|
Guilherme Blanco
|
84b9eda17c
|
[DDC-680] Implemented support to complex mathematical expression in subselect part aswell as improved support of comparison expressions.
|
2010-08-11 23:12:44 -03:00 |
|
Guilherme Blanco
|
c1fec32f58
|
[2.0][DDC-482] Added support to INSTANCE OF in DQL.
|
2010-07-30 01:30:02 -03:00 |
|
Guilherme Blanco
|
5f109c5d6c
|
Merge branch 'DDC-619'
|
2010-07-23 01:56:38 -03:00 |
|
Guilherme Blanco
|
d50b3c42e2
|
[DDC-619] Removed support to complex PathExpressions.
|
2010-07-23 01:55:33 -03:00 |
|
Roman S. Borschel
|
913e58e385
|
[DDC-167] Implemented.
|
2010-07-20 14:27:14 +02:00 |
|
Guilherme Blanco
|
2c28872af8
|
[2.0][DDC-614] Added support to multiple FROM identification variables. Also, fixed bug with missing lock on subselect.
|
2010-07-20 00:51:01 -03:00 |
|
Roman S. Borschel
|
d86c2f6709
|
Prepared some more DQL tests.
|
2010-07-15 15:55:45 +02:00 |
|
Roman S. Borschel
|
a1c13b58d3
|
Fixed behavior of PersistentCollection#clear(). Fixed single-valued association path expression support in DQL UpdateItems.
|
2010-07-08 17:30:39 +02:00 |
|
beberlei
|
6ba4fa002b
|
DDC-660 - Fix notIn() not quoting passed literals correctly.
|
2010-07-01 21:42:38 +02:00 |
|
Jonathan H. Wage
|
f54dce93aa
|
Fixing failing test introduced in last commit.
|
2010-05-25 18:22:42 -04:00 |
|
David Abdemoulaie
|
ece0e3ad88
|
Third parameter to Expr::substring is now optional
|
2010-05-25 15:11:35 -05:00 |
|
David Abdemoulaie
|
b6a5402bcb
|
Query\Expr::_quoteLiteral properly quotes numeric strings
|
2010-05-25 13:41:02 -05:00 |
|
Roman S. Borschel
|
a45560dbd0
|
[DDC-505] Fixed and small lexer simplifcations that were marked as todo.
|
2010-05-18 22:19:08 +02:00 |
|
Roman S. Borschel
|
3cbee1fa09
|
Merge commit 'upstream/master'
|
2010-05-16 13:30:48 +02:00 |
|
Roman S. Borschel
|
3045507a9b
|
[DDC-593] Fixed.
|
2010-05-16 13:30:40 +02:00 |
|
Benjamin Eberlei
|
78328ec6ea
|
DDC-178 - Removed Doctrine\ORM\LockMode in favour of Doctrine\DBAL\LockMode
|
2010-05-15 11:48:20 +02:00 |
|
Benjamin Eberlei
|
64b57bbcfb
|
Merge upstream into lock-support branch
|
2010-05-15 09:41:32 +02:00 |
|
Benjamin Eberlei
|
f65a555d04
|
Merge Upstream into Locking-Branch
|
2010-05-02 13:02:44 +02:00 |
|
Guilherme Blanco
|
50f3435e84
|
Optimized Query AST resultant of the parsing process phase 1
|
2010-04-29 22:15:36 -03:00 |
|