Alexander Kurilo
38fcc66c16
Add missing type mapping
...
Fixes DDC-3192
Refs DDC-2494
This is essentially a fix from DDC-2494 applied to SQLWalker.
The issue: type was not converted to PHP value when the result is fetched by
executing DQL query rather than using entity manager's findX(). Similar issue
for BasicEntityPersister (which is used when em's findX is executed) was fixed
in DDC-2494, but SQLWalker made the issue valid for any custom query.
2014-07-14 11:22:08 +03:00
Guilherme Blanco
38187a31d6
Merge pull request #1032 from bakura10/optimized-contains
...
Add support for optimized contains in LazyCriteria
2014-06-21 08:56:47 -04:00
Guilherme Blanco
381cf8022f
Merge pull request #1063 from FlorianLB/master
...
singularize variable name on add/remove methods for EntityGenerator
2014-06-21 08:49:53 -04:00
Marco Pivetta
19b5e87cab
on-update
is not supported anymore
2014-06-19 16:05:12 +02:00
Marco Pivetta
e940ce1df6
Replacing "
with '
to avoid escaping warnings
2014-06-19 15:54:43 +02:00
Marco Pivetta
59720370f9
Corrected FQCN reference in @expectedException
2014-06-19 15:53:37 +02:00
Marco Pivetta
7dfca09ff6
Minor CS fixes (use
statements compliant with PSR-2)
2014-06-19 15:53:11 +02:00
FlorianLB
fdca5d7584
singularize variable name on add/remove methods for EntityGenerator
2014-06-19 10:00:40 +02:00
Ulf
7aa1c0a907
Create DDC3170Test.php
...
Added test for [DDC-3170] (http://www.doctrine-project.org/jira/browse/DDC-3170 )
2014-06-17 14:45:59 +02:00
Marco Pivetta
32b24ba155
Fixed mismatch in expected exception message, see doctrine/doctrine2#1048
2014-06-07 14:55:59 +02:00
Steve Müller
dcf8d6a86e
ignore case when checking for existing methods to avoid redeclaration on update
2014-06-05 15:58:54 +02:00
Michaël Gallego
140dc92e5f
Enforce Criteria
2014-05-18 12:47:59 +02:00
Marco Pivetta
c68ed4c204
Verifying that the persister is used only once when matching on a lazy criteria collection
2014-05-17 19:06:16 +02:00
Marco Pivetta
d2174a893a
Verifying that count
is not called on the persister when the collection is initialized
2014-05-17 18:56:42 +02:00
Marco Pivetta
546bb53ef9
Verifying that count on the lazy criteria collection is cached even with 0
count
2014-05-17 18:51:33 +02:00
Marco Pivetta
c46b63f6b4
Verifying that count on the lazy criteria collection is cached
2014-05-17 18:51:01 +02:00
Marco Pivetta
81fbb049a5
LazyCriteriaCollection test setUp
2014-05-17 18:48:25 +02:00
Marco Pivetta
7cb40ed915
Mocking up tests for the lazy-criteria-collection
2014-05-17 18:45:33 +02:00
Michaël Gallego
ddfc951a0e
Remove useless docblock
2014-05-17 14:33:15 +02:00
Michaël Gallego
a04113f410
Add support for optimized contains
2014-05-17 12:54:25 +02:00
Guilherme Blanco
47ca10076b
Merge pull request #991 from mnapoli/custom-functions-callback
...
Ability to define custom functions with callback instead of class name
2014-05-16 00:27:30 -04:00
Michaël Gallego
92a2b01c77
Fix tests by forcing collection initialization
2014-05-15 18:37:41 +02:00
Michaël Gallego
172df22281
Fix inconsistent mapping
2014-05-15 18:22:57 +02:00
Michaël Gallego
0a6c2027f5
Update tests
2014-05-15 18:22:57 +02:00
Michaël Gallego
45e9d6ed5a
Fix test on some RDBMS
2014-05-15 18:22:57 +02:00
Michaël Gallego
11de4c2e72
Only create lazy collection for EXTRA_LAZY
2014-05-15 18:22:57 +02:00
Michaël Gallego
50832fd3bc
Add tests for PersistentCollection
2014-05-15 18:22:57 +02:00
Michaël Gallego
876643e83e
Add test for Entity Repository
2014-05-15 18:22:57 +02:00
Michaël Gallego
ac15b184b6
Fix tests for inheritance support
2014-05-15 18:22:56 +02:00
Michaël Gallego
632382b069
Add missing methods to the mock
2014-05-15 18:22:56 +02:00
Michaël Gallego
9813c2d5f1
Add tests
2014-05-15 18:22:56 +02:00
Marco Pivetta
65e55a0c49
DDC-3123 - using assertAttributeEmpty
(with message) instead of explicit reflection
2014-05-15 17:37:41 +02:00
Matthieu Napoli
c7eb42b04f
Ability to define custom functions with callback + tests
2014-05-15 12:06:21 +02:00
Guilherme Blanco
5c828fc6c8
Merge pull request #1023 from coma/DDC-3027
...
[DDC-3027] Avoid duplicated mapping using Embedded in MappedSuperclass
2014-05-14 22:37:24 -04:00
Guilherme Blanco
4874070b3f
Merge branch 'feature/default-query-hints' of https://github.com/Strate/doctrine2 into Strate-default-query-hints
2014-05-15 01:15:34 +00:00
Marco Pivetta
9cdcba3fbc
DDC-3123 - verifying that the UoW is not clearing extra inserts
2014-05-15 00:18:22 +02:00
Eduardo García Sanz
8a3def097f
[DDC-3027] Avoid duplicated mapping using Embedded in MappedSuperclass
2014-04-30 11:46:54 +02:00
Marco Pivetta
7a305475e3
The proxy factory always expects non-null identifier values
2014-04-29 13:25:17 +02:00
Marco Pivetta
677cea4748
DDC-3103 - minor CS fixes/adjustments
2014-04-29 13:12:17 +02:00
Marco Jantke
cf84183c18
created test case to reproduce error
2014-04-29 09:30:10 +02:00
Guilherme Blanco
9692fc8c5b
Fixed issue if aliases were specific names, you would either get completely misleading results (dql alias: scalars) or a fatal error (dql alias: newObjects).
2014-04-24 04:47:13 +00:00
Guilherme Blanco
29de3e00ff
Added support for NEW operator when using ArrayHydration if user desires to benefit from this funcionality.
2014-04-23 05:10:23 +00:00
Guilherme Blanco
63d21ca4b2
DDC-3085 Verify ResultVariable works in combination with NullComparisonExpression wihle in HAVING clause.
2014-04-21 04:01:32 +00:00
Guilherme Blanco
4185a9ce4b
Merge pull request #999 from doctrine/hotfix/DDC-3065-null-value-in-in-criteria-support
...
DDC-3065 null value in in criteria support
2014-04-20 23:30:14 -04:00
Guilherme Blanco
6a8ee87268
Made DQL and EBNF in sync.
2014-04-20 20:27:57 +00:00
Guilherme Blanco
a3f95d919b
DDC-3075 Added support for subqueries in NEW operator.
2014-04-20 14:40:51 +00:00
Guilherme Blanco
38b6838386
DDC-2575 Fixed issue with associations when parent is not yet loaded, but child is being created and no link happens.
2014-04-18 05:21:27 +00:00
Guilherme Blanco
10a0daf620
DDC-3068 DDC-3069 EntityManager::find accept array of object as id.
2014-04-18 02:03:47 +00:00
Marco Pivetta
e1259098f5
Fixed whitespace around imported classes
2014-04-17 15:37:24 -04:00
Marco Pivetta
9ab6ef723a
Removing too eager cache tests
2014-04-17 15:37:24 -04:00