Benjamin Morel
774bb3fec4
Fixed missed documentation issues in Doctrine\ORM
2012-12-14 20:12:56 +00:00
Benjamin Morel
dacdd6cd89
Documentation (docblock) fixes.
2012-12-01 16:28:06 +00:00
Jan Kramer
5b3f54429a
[DDC-2074] Fixed bug regarding clearing PC's without owner
...
When calling clear on a PC that has no owner (e.g. because it was
cloned), it can't be deleted as there is no metadata available.
In these cases, it shouldn't be scheduled for deletion.
2012-11-25 19:27:39 +01:00
Stefano Rodriguez
bb8dd6cb11
Fixes PersistentCollection::matching() when collection is not initialized and there are NEW entities in the collection
2012-09-07 10:46:34 +02:00
Benjamin Eberlei
104a76a6b1
Update EntityRepository and PersistentCollection to new Criteria#expr() method instead of having to implement themselves.
2012-08-01 21:37:22 +02:00
Marco Pivetta
aa0cb0b6d7
DDC-1939 - Removing references to non-existing AssociationMapping class
2012-07-24 11:37:57 +02:00
Benjamin Eberlei
b2385e0afa
[DDC-1637] Implementation of Criteria Collections API for
...
PersistentCollection (OneToMany only) and EntityRepository.
2012-07-09 09:59:48 +02:00
Karsten Dambekalns
bcddc47356
[DDC-1835] Fix cloning persistent collections.
2012-05-27 10:17:12 +02:00
Benjamin Eberlei
70458b2f48
LGPL => MIT
2012-05-26 14:37:00 +02:00
Tim Nagel
6cbdf53975
Fixed DDC1778
2012-04-16 13:03:19 +10:00
Guilherme Blanco
a16ca32981
Coding style fixes.
2012-03-15 01:15:47 -04:00
Benjamin Eberlei
68436fee75
[DDC-1654] Add support for orphanRemoval on ManyToMany associations. This only makes sense when ManyToMany is used as uni-directional OneToMany association with join table. The join column has a unique constraint on it to enforce this on the DB level, but we dont validate that this actually happens. Foreign Key constraints help prevent issues and notify developers early if they use it wrong.
2012-02-20 10:33:16 +01:00
Benjamin Eberlei
9fc1d85e8d
[DDC-1643] Fix bugs when cloning PersistentCollection and re-using it.
2012-02-18 00:42:21 +01:00
Andrew Mackrodt
ef12a09ae0
Added remaining absolute namespace paths to phpdoc annotations - issue DDC-1025.
2011-12-11 21:56:27 +00:00
Andrew Mackrodt
2fdb55a878
Added absolute namespace paths to phpdoc annotations - issue DDC-1025.
2011-12-11 21:56:26 +00:00
Guilherme Blanco
5b73f1bd82
Improved code readability. Improved performance.
2011-11-30 09:57:54 -05:00
Guilherme Blanco
356f5874bf
Added support to removeElement remove items without initializing the PersistentCollection.
2011-11-29 11:29:17 -05:00
Benjamin Eberlei
ceadc95439
DDC-1496 - Fix bug with OneToMany collections having orphanRemoval=true and Collection#clear() being called.
2011-11-18 15:44:06 +01: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
82f0c244e8
DDC-1189 - Bugfix with PersistentCollection#clear() in combination with lazy loading
2011-06-19 09:39:34 +02: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
89e7e8623c
DDC-546 - Remove dynamic public property approach in PersistentCollection::count() EXTRA_LAZY.
2011-01-02 13:43:49 +01:00
Benjamin Eberlei
cbfdf61976
DDC-546 - Bugfix for PersistentCollection::count() in EXTRA LAZY special case.
2011-01-02 13:41:18 +01:00
Benjamin Eberlei
75d59d8695
DDC-546 - Added functionality for extra-lazy PersistentCollection::contains().
2011-01-02 12:46:08 +01:00
Benjamin Eberlei
d3d9957fd4
DDC-546 - Fix some minor glitches in patch.
2011-01-02 12:44:16 +01:00
Benjamin Eberlei
c998797c55
DDC-546 - Add Extra Lazy Collection prototype.
2011-01-02 12:44:16 +01:00
Benjamin Eberlei
23795605fc
DDC-758 - Fix bugs with adding and removing elements from a cascade merge Collection. This fix leads to a significant hit in merge performance of collections since they have to be initialized to the current database state, leading to an additional sql query being executed + hydration.
2010-10-31 07:06:53 +01:00
Benjamin Eberlei
241e4d2f53
DDC-737 - Implemented slice() on PersistentCollection for fowards compatibility reasons. The method will be required on Collection interface with the next Doctrine\Common release
2010-08-24 21:56:29 +02:00
Roman S. Borschel
dd7be5b13a
Improving API and docblocks. Removing superfluous tests.
2010-08-09 22:48:07 +02:00
Roman S. Borschel
8d3e0e61ea
Moved association mappings to plain arrays, just like field mappings.
2010-08-09 22:48:07 +02:00
Benjamin Eberlei
da809fdeda
DDC-735 - Forward compatible fix for ArrayCollection::removeElement() returning the element instead of true
2010-08-09 21:26:10 +02:00
Benjamin Eberlei
8ea1d3825f
DDC-735 - Fix PersistentCollection::remove() and PersistentCollection::removeElement() behaving differently with regards to orphan removal
2010-08-08 17:13:03 +02:00
Roman S. Borschel
e7ac35ed95
[DDC-119] Fixed.
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
Roman S. Borschel
4212b88edc
Fixed DDC-455, DDC-600. Some behavior and API polish in the UoW as well as continued _ prefix removal in some core classes. Cleanups and fixes for one-to-one orphan removal including tests.
2010-07-08 00:20:54 +02:00
Roman S. Borschel
88b0813536
Improved entity state detection.
2010-07-06 11:43:14 +02:00
Benjamin Eberlei
fbaa4e3215
DDC-555 - Fixed toggling of collections when using Collection::clear() in a PersistentCollection context
2010-07-03 16:55:56 +02:00
beberlei
f7e8109d07
DDC-501 - Cascade Merging unitialized Persistent Collections leads to weird behaviour
2010-07-01 23:48:44 +02:00
Roman S. Borschel
db2be55e27
[DDC-561] Fixed.
2010-04-30 17:30:27 +02:00
Roman S. Borschel
760ea34a0c
[DDC-497][DDC-500][DDC-342] Fixed. Persister polishing and refactoring. More to come for that, but after beta1.
2010-04-26 13:02:30 +02:00
Roman S. Borschel
7cc56c45d3
[DDC-193] Fixed.
2010-04-10 00:00:36 +02:00
romanb
62e7146d2d
[2.0][DDC-423] Fixed.
2010-03-29 13:50:57 +00:00
romanb
354ede1e04
[2.0][DDC-354][DDC-425] Fixed. Encapsulated SQL logging better in the DBAL. Added binding types to DBAL mapping types as well as using these binding types in the persisters. Query and NativeQuery now support PDO binding types as well as DBAL mapping types when binding parameters.
2010-03-29 13:20:41 +00:00
romanb
a53c2fbd6c
[2.0] Code cleanups. Preparations for DDC-193. Fixed DDC-399, type configuration remains global for now but the irritating instance methods on the Configuration have been removed. Use Type::addType et al. Added TODOs for naming standards.
2010-03-15 17:19:00 +00:00
romanb
536aca23da
[2.0][DDC-371] Fixed together with other hydration/initialization issues.
2010-02-27 17:48:18 +00:00
romanb
4adc289596
[2.0][DDC-284] Fixed. API polish and some convention over configuration simplifications for join columns and join tables.
2010-02-09 17:13:49 +00:00
romanb
38bf6c665a
[2.0][DDC-237][DDC-216] Fixed. If you're using manual proxy generation through the CLI, please regenerate your proxies.
2010-01-05 11:45:38 +00:00
romanb
cced2bd6c3
[2.0][DDC-211] Fixed collection diff calculation.
2009-12-15 18:38:15 +00:00
romanb
59a17eb51c
[2.0][DDC-171] Fixed (second attempt). Some other cleanups. Performance fix for mock Statement used in hydration performance tests for more accurate and better results.
2009-12-10 21:27:20 +00:00