Ronan Guilloux
495fe6002d
Update query-builder.rst
...
->andWhere() can be used directly, without any ->where() before, and we can just always use ->andWhere(). This is why ->hasWhere() is useless, cf. #1043 .
2014-05-29 16:29:49 +02:00
Marco Pivetta
5ee286e7e0
Merge pull request #1041 from c960657/entity-manager-interface
...
Allow all EntityManagerInterface implementations
2014-05-28 14:40:22 +02:00
Marco Pivetta
f941264b5e
Merge pull request #1042 from bakura10/patch-1
...
Fix second level cache doc
2014-05-28 13:57:15 +02:00
Michaël Gallego
3d32bc47a7
Fix second level cache doc
2014-05-28 13:07:01 +02:00
Christian Schmidt
a7d072f525
Allow all EntityManagerInterface implementations
...
This is necessary if Doctrine\ORM\Decorator\EntityManagerDecorator is used.
2014-05-28 12:30:40 +02:00
Marco Pivetta
466808bf48
Merge pull request #1039 from iampersistent/patch-1
...
Add yml example to single table inheritance
2014-05-27 16:56:08 +02:00
Richard Shank
edaeaf48a8
Add yml example to single table inheritance
2014-05-27 07:47:07 -07:00
Marco Pivetta
20e47ae52d
Merge pull request #1037 from spiechu/patch-1
...
I can't look at those semicolons, sorry ;-)
2014-05-27 09:55:42 +02:00
Dawid Spiechowicz
9c24e0b510
I can't look at those semicolons, sorry ;-)
2014-05-27 09:37:40 +02:00
Marco Pivetta
b421d03f69
Merge pull request #1036 from albertvolkman/entity-mapper-remove-extra-space
...
Move space addition to implementation.
2014-05-22 00:15:22 +02:00
Albert Volkman
49bca5171b
Move space addition to implementation.
2014-05-21 16:27:36 -04:00
Marco Pivetta
7debf736a6
Merge pull request #1034 from hashnz/master
...
Update caching.rst
2014-05-19 22:59:06 +02:00
hashnz
43c4c80388
Update caching.rst
...
Remove documentation referencing delete by regex/prefix.
2014-05-20 08:53:41 +12:00
Marco Pivetta
04aea73a85
Merge branch 'tests/lazy-collection-tests'
...
Tests for doctrine/doctrine2@d30e3ab43c
2014-05-17 19:08:37 +02:00
Marco Pivetta
a259138180
The count
in a LazyCriteriaCollection
is null
on initialization
2014-05-17 19:08:25 +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
Guilherme Blanco
d6c727dcc1
Update LazyCriteriaCollection.php
...
Fixed issue where count = 0
2014-05-16 14:03:20 -04:00
Marco Pivetta
8babb77d37
Merge pull request #1031 from mnapoli/custom-functions-callback-documentation
...
Documentation for #991
2014-05-16 14:40:17 +02:00
Matthieu Napoli
5a4c558865
Fixed #991 to support non-closure callables on PHP 5.3
2014-05-16 10:49:59 +02:00
Matthieu Napoli
b16423b26b
Documentation for #991
2014-05-16 09:32:52 +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
Guilherme Blanco
d30e3ab43c
Added count cache when lazy collection is not yet initialized. Some cosmetic changes (primarily, there's no ELSE).
2014-05-16 04:22:11 +00: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
6cb5097ea8
Add method visibility
2014-05-15 18:22:57 +02:00
Michaël Gallego
8514ec7320
Remove useless imports
2014-05-15 18:22:57 +02:00
Michaël Gallego
3c522f4984
Reuse Doctrine Collection Lazy Collection
2014-05-15 18:22:57 +02:00
Michaël Gallego
28afb52734
Typehint to interface to support second level cache
2014-05-15 18:22:56 +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
7551b1ad00
Update to latest cache API
2014-05-15 18:22:56 +02:00
Michaël Gallego
9813c2d5f1
Add tests
2014-05-15 18:22:56 +02:00
Michaël Gallego
0fa7b45a0e
Also add efficient count for Persistent collection
2014-05-15 18:22:56 +02:00
Michaël Gallego
9b7dce1940
Use inner collection count if initialized
2014-05-15 18:22:56 +02:00
Michaël Gallego
b556bcb16c
Remove useless dependency
2014-05-15 18:22:56 +02:00
Michaël Gallego
f1a793f2ee
Initial work for efficient counting on criteria
2014-05-15 18:22:56 +02:00
Marco Pivetta
91df8f5649
Merge branch 'hotfix/DDC-3123-test-assertion-simplification'
2014-05-15 17:37:55 +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