Sander Marechal
06ed21e883
Remove extra-lazy-get for ManyToMany relation
2013-06-27 14:19:39 +02:00
Sander Marechal
5635fa60a4
Check owning entitiy on extra lazy get with OneToMany relation
2013-06-27 14:17:41 +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
Fabio B. Silva
f16c8e3efe
Fix DDC-2478
2013-06-13 16:44:02 -04:00
Fabio B. Silva
d685f592fe
Fix DDC-2494
2013-06-12 10:30:51 -04:00
Alexander
66a842c143
[DDC-2471] Fix EQ/NEQ null handling of criteria
2013-05-26 09:04:19 +02:00
Benjamin Eberlei
eb1a162cbc
Fix regression in DDC-2430.
2013-05-10 23:31:27 +02:00
Benjamin Eberlei
6d5afb18bc
[DDC-2430] Prevent Criteria queries using the ID of an assocation on PersistentCollections, as the in-memory ArrayCollection does not work with this kind of query. Attention this is a BC-BREAK, that is necessary to fix potentially very hard to debug bugs. Therefore it is not merged back into 2.3
2013-05-09 13:24:36 +02:00
Benjamin Eberlei
8e8560b276
Merge pull request #537 from Powerhamster/joined-composite-keys
...
fixed problems with joined inheritance and composite keys
2013-05-04 05:59:02 -07:00
Benjamin Eberlei
0864ab8ada
[DDC-1998] Pass types to Connection#delete() to allow custom conversions to happen.
2013-05-01 20:30:45 +02:00
Benjamin Eberlei
640a8e58c7
[DDC-2106] Fix entity as parameter value when its managed but not yet with identifier.
2013-05-01 18:46:41 +02:00
Benjamin Eberlei
52b2e066c5
Merge pull request #611 from stefankleff/fix-eagerloading
...
Fixed typo in hints. Caused slow loading of eager entities.
2013-04-14 00:43:42 -07:00
Stefan Kleff
e561f47cb2
Added constant
2013-04-08 11:27:22 +02:00
Benjamin Eberlei
cef20890dc
Merge pull request #616 from FabioBatSilva/DDC-2252
...
[DDC-2252] Fix delete many-to-many composite key
2013-04-06 10:37:16 -07:00
Pascal Borreli
30b050b44c
Fixed typos
2013-04-06 14:31:27 +00:00
Fabio B. Silva
1effd38043
Fix DDC-2252
2013-03-16 01:15:54 -03:00
Benjamin Eberlei
ba4705176e
Merge pull request #601 from jankramer/add-contains-comparison
...
Add 'contains' comparison
2013-03-12 11:38:18 -07:00
Stefan Kleff
d937d1fc82
Fixed typo in hints. Caused slow loading of eager entities.
2013-03-12 16:17:14 +01:00
Pascal Borreli
a2cd0f5804
Fixed typos
2013-03-11 00:08:58 +00:00
Jan Kramer
760623346c
Added 'contains' comparison
2013-03-07 13:32:56 +01:00
Benjamin Morel
cba1c8295c
Fixed wrong return types in documentation.
2013-02-12 11:49:44 +00:00
Benjamin Morel
f834c37f8a
Fixed a wrong return type.
2013-02-03 00:48:05 +00:00
Fabio B. Silva
6074755b91
Fix DDC-1376
2013-01-13 22:39:59 -02:00
Benjamin Eberlei
e2c1ff1a48
[DDC-2175] Fix bug in JoinedSubclassPersister
2012-12-24 10:39:23 +01:00
Thomas Rothe
fb055ca75d
fixed problems with joined inheritance and composite keys
...
SchemaTool now creates all Id columns not just only the first one.
Insert statement for child entity now contains parameter for additional key columns only once.
2012-12-16 18:20:10 +01:00
Benjamin Morel
43b301f22b
Fixed English mistakes
2012-12-03 11:02:29 +00:00
Benjamin Morel
159ece8943
Fixed documentation for ORM\Persisters
2012-12-03 10:15:43 +00:00
Benjamin Eberlei
05e5ae8bfa
Merge pull request #413 from FabioBatSilva/refactory-persisters
...
code refactorings on persister
2012-11-25 03:50:52 -08:00
Matthieu Napoli
e15cf324c3
Fix and test for DDC-2073
2012-11-06 15:05:53 +01:00
Fabio B. Silva
122569eee0
Fix CS
2012-11-05 22:52:43 -02:00
Fabio B. Silva
0fa89647d2
Fix DocBlock
2012-11-05 22:52:42 -02:00
Fabio B. Silva
ecaa3fd03e
Third round of refactorings on BasicEntityPersister
2012-11-05 22:52:42 -02:00
Fabio B. Silva
c8899c2b3b
second round of CS fixes
2012-11-05 22:52:42 -02:00
Fabio B. Silva
a295525501
Fix some CS
2012-11-05 22:52:41 -02:00
Fabio B. Silva
827153624c
Second round of refactorings on BasicEntityPersister
2012-11-05 22:52:41 -02:00
Fabio B. Silva
04e1838c92
change 'use' statements
2012-11-05 22:52:41 -02:00
Fabio B. Silva
14a2b61671
code refactoring on SingleTablePersister
2012-11-05 22:52:40 -02:00
Fabio B. Silva
9a041c8fdb
code refactoring on OneToManyPersister
2012-11-05 22:52:40 -02:00
Fabio B. Silva
2b1aaebe18
code refactoring on ManyToManyPersister
2012-11-05 22:52:40 -02:00
Fabio B. Silva
07492bda9d
fix JoinedSubclassPersister#delete when supports foreign key
2012-11-05 22:52:39 -02:00
Fabio B. Silva
3156c1549d
code refactoring on JoinedSubclassPersister
2012-11-05 22:52:39 -02:00
Fabio B. Silva
308b54a8f3
code refactoring on BasicEntityPersister
2012-11-05 22:52:39 -02:00
Fabio B. Silva
7e348b7815
small refacory on AbstractEntityInheritancePersister
2012-11-05 22:50:24 -02:00
Fabio B. Silva
e6f08f0b92
remove '_' prefix at AbstractCollectionPersister
2012-11-05 22:50:23 -02:00
Fabio B. Silva
b998a522b0
remove '_' prefix at BasicEntityPersister
2012-11-05 22:50:23 -02:00
Guilherme Blanco
57e5fa9873
Merge pull request #496 from arse/master
...
Testing for key existance in basicEntityPersister / getIndividualValue
2012-11-05 16:20:26 -08:00
Guilherme Blanco
283ed55824
Merge pull request #504 from nemekzg/DDC-1241
...
Proposed fix for DDC-1241
2012-11-05 16:14:48 -08:00
nemekzg
9705ee89d9
Proposed fix for DDC-1241
2012-11-05 19:55:54 +01:00
TR
73e6164096
Update lib/Doctrine/ORM/Persisters/BasicEntityPersister.php
...
coding standards change
2012-11-03 09:47:08 +00:00