Marco Pivetta
|
55a75bfb1b
|
Merge pull request #1249 from doctrine/extra-lazy-get-m2m
Support for extra lazy get for both owning and inverse side on many to many associations.
|
2015-01-15 03:36:35 +01:00 |
|
Marco Pivetta
|
c571f6f6a9
|
Correctly dealing with emulated cascades in ExtraLazyCollectionTest
|
2015-01-14 14:36:01 +01:00 |
|
Guilherme Blanco
|
25b7c64dc6
|
Implemented support for extra lazy get for both owning and inverse side on many to many associations.
|
2015-01-13 17:50:20 +00:00 |
|
Marco Pivetta
|
0f362b0650
|
#1245 DDC-2504 - removing duplicate test
|
2015-01-12 22:03:54 +01:00 |
|
Marco Pivetta
|
ebf5811761
|
#1245 DDC-2504 - extracting test:
Removing an unmanaged/persisted/new item from a one-to-many extra-lazy association to a JTI does not initialize the collection
|
2015-01-12 21:55:57 +01:00 |
|
Marco Pivetta
|
25d40caf1e
|
#1245 DDC-2504 - extracting test:
Removing a managed item from a one-to-many extra-lazy association to a JTI does not initialize the collection
|
2015-01-12 21:43:37 +01:00 |
|
Marco Pivetta
|
ec08286173
|
#1245 DDC-2504 - constants over string references
|
2015-01-12 21:37:53 +01:00 |
|
Marco Pivetta
|
7a0cb1c370
|
#1245 DDC-2504 - splitting test method into a test about count() and one about contains() on a lazy persistent collection
|
2015-01-12 21:34:12 +01:00 |
|
Marco Pivetta
|
8d287b17d7
|
#1245 DDC-2504 - splitting test method into single feature checks
|
2015-01-12 21:29:48 +01:00 |
|
Guilherme Blanco
|
932a56f26f
|
Internalize UnitOfWork in CollectionPersisters. Updated related code.
|
2015-01-12 19:52:27 +00:00 |
|
Guilherme Blanco
|
73afcec22a
|
Implemented support for one to many extra lazy with joined inheritance.
|
2015-01-12 18:15:13 +00:00 |
|
Giorgio Premi
|
6cb3fa8fb7
|
Removed all useless occurrence of require_once TestInit.php
|
2014-04-07 14:43:25 +02:00 |
|
Asmir Mustafic
|
5475d616e3
|
more tests
|
2014-02-07 14:30:17 +01:00 |
|
Asmir Mustafic
|
724e69146c
|
typos and removed confusing ternary
|
2014-02-06 12:44:13 +01:00 |
|
Asmir Mustafic
|
557686aa0a
|
Entra-lazy for containsKey on collections
|
2014-02-06 12:27:12 +01:00 |
|
Fabio B. Silva
|
3140593e9b
|
Second level cache
|
2013-12-16 11:05:04 -05:00 |
|
Sander Marechal
|
06ed21e883
|
Remove extra-lazy-get for ManyToMany relation
|
2013-06-27 14:19:39 +02:00 |
|
Sander Marechal
|
70427871ce
|
Extra test for indexBy identifier versus indexBy other fields
|
2013-06-20 14:20:00 +02:00 |
|
Sander Marechal
|
3b92cfac5a
|
Use find() if the indexBy field is the identifier
|
2013-06-20 13:45:38 +02:00 |
|
Sander Marechal
|
647c5e2cad
|
Test actual data returned by get()
|
2013-06-20 10:18:08 +02:00 |
|
Sander Marechal
|
3555007f08
|
Return NULL for non-existent keys
The load() function already returns just one entity or NULL, so
the current() is not needed and the result can be returned directly.
|
2013-06-20 10:09:52 +02:00 |
|
Sander Marechal
|
523697d0b6
|
[DDC-1398] Extra-lazy get for indexed associations
If an association is EXTRA_LAZY and has an indexBy, then
you can call get() without loading the entire collection.
|
2013-06-20 09:29:56 +02:00 |
|
Pascal Borreli
|
a2cd0f5804
|
Fixed typos
|
2013-03-11 00:08:58 +00:00 |
|
Benjamin Morel
|
43b301f22b
|
Fixed English mistakes
|
2012-12-03 11:02:29 +00:00 |
|
Guilherme Blanco
|
d39760ba49
|
Fixed DDC-1608. Non-initialized PersistentCollection methods removeElement and contains now deal correctly with managed entities.
|
2012-01-18 01:04:25 -05:00 |
|
Benjamin Eberlei
|
cd6131c9b8
|
Remove all trailing whitespaces
|
2011-12-19 22:56:19 +01:00 |
|
Guilherme Blanco
|
356f5874bf
|
Added support to removeElement remove items without initializing the PersistentCollection.
|
2011-11-29 11:29:17 -05:00 |
|
Benjamin Eberlei
|
1dc5b7fba4
|
DDC-1462 - Fix bug in slice when calling on a dirty collection that is marked extra lazy
|
2011-10-31 21:34:22 +01:00 |
|
Benjamin Eberlei
|
95193ab5f8
|
DDC-1399 - Fix extra lazy collections when inner collection contains values but persistent collection is marked not dirty because of flush()
|
2011-10-31 21:17:01 +01:00 |
|
Benjamin Eberlei
|
1bc4b62805
|
[DDC-952] Make collection loading work with hydrators also.
|
2011-03-13 00:15:50 +01:00 |
|
Benjamin Eberlei
|
247fc43cef
|
DDC-546 - Rename ClassMetadataInfo::FETCH_EXTRALAZY to ClassMetadataInfo::FETCH_EXTRA_LAZY
|
2011-01-02 15:10:47 +01:00 |
|
Benjamin Eberlei
|
3acc05d953
|
DDC-546 - Fix bug in inverse many-to-many contains.
|
2011-01-02 13:37:29 +01:00 |
|
Benjamin Eberlei
|
75d59d8695
|
DDC-546 - Added functionality for extra-lazy PersistentCollection::contains().
|
2011-01-02 12:46:08 +01:00 |
|
Benjamin Eberlei
|
7c567b305a
|
Refactor DDC-546 persister approach.
|
2011-01-02 12:46:08 +01:00 |
|
Benjamin Eberlei
|
c998797c55
|
DDC-546 - Add Extra Lazy Collection prototype.
|
2011-01-02 12:44:16 +01:00 |
|