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
Per Persson
b5ac85d19a
Update lib/Doctrine/ORM/Persisters/BasicEntityPersister.php
...
Speling
2012-11-02 18:37:46 +01:00
TR
185a0fb19c
refactoring getIndividualValue for valid key value
...
refactoring getIndividualValue
2012-11-02 00:33:55 +00:00
TR
a65996f74c
notice is thrown up if no identifier values found
...
wrapping the setting of value with an array_key_exists to prevent a notice from being thrown
2012-11-01 23:59:57 +00:00
Michal Piotrowski
a55b46b4bf
remove unused classes
2012-10-23 18:19:28 +02:00
jakoch
d4a6c488ca
fixed use statements
2012-10-12 13:53:20 +02:00
Fabio B. Silva
4510f5a5b8
Fix DDC-2012
2012-09-30 15:40:19 -03:00
Benjamin Eberlei
2c99f97c8b
[DDC-2003] Remove unused variable
2012-09-05 19:28:32 +02:00
Josiah Truasheim
959c4f026f
Refactored the SqlValueVisitor to move all type processing to the entity persister.
2012-08-31 20:58:16 +07:00
Josiah Truasheim
a6b6b25267
Removed the closure keyword as it isn't supported in PHP 5.3
2012-08-31 18:16:02 +07:00
Josiah Truasheim
c7f5d9d77d
Fixed DDC-2003 using closures to reference the functionality of the calling entity persister from the SQL value visitor.
2012-08-31 18:12:44 +07: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
Benjamin Eberlei
ff2c5f85c3
[DDC-1846] Fix EntityRepository#find() with pessimistic locking.
2012-07-07 16:49:26 +02:00
Benjamin Eberlei
4bfdcd32f7
Merge pull request #384 from FabioBatSilva/DDC1885
...
[DDC-1885] Fix quotes in many to many persisters
2012-07-04 14:43:48 -07:00
Bart van den Burg
64904c77c1
fixed DDC-1895
2012-07-04 22:11:50 +02:00
Fabio B. Silva
632d13ba0c
fix extra lazy count
2012-07-04 17:11:43 -03:00
Fabio B. Silva
fe11831bd7
test remove item and clear collection
2012-07-04 17:11:43 -03:00
Fabio B. Silva
63580dfe26
Fix CS
2012-07-04 17:11:43 -03:00
Fabio B. Silva
076663fe3a
fix DDC-1885 in persisters
2012-07-04 17:11:42 -03:00
Guilherme Blanco
cb72219b11
Merge pull request #372 from FabioBatSilva/DDC-1845
...
[DDC-1845] QuoteStrategy
2012-06-24 20:36:54 -07:00
Fabio B. Silva
ca4862aabc
Fix CS
2012-06-23 14:19:47 -03:00
Fabio B. Silva
d3d97e7ef8
remove svn markers
2012-06-19 15:27:41 -03:00
Fabio B. Silva
65efda425f
Fix CS
2012-06-18 15:24:52 -03:00
Fabio B. Silva
85b6f8dc2f
change quote strategy to interface
2012-06-18 14:43:00 -03:00
Fabio B. Silva
e0a236a9af
fix DDC-142 load OneToOne EAGER
2012-06-18 14:43:00 -03:00
Fabio B. Silva
cd806b83db
fix DDC-142 persist OneToOne
2012-06-18 14:42:59 -03:00
Fabio B. Silva
51f29cddb9
fix delete join table
2012-06-18 14:42:59 -03:00
Fabio B. Silva
7807d6806c
fix delete join table not owning side
2012-06-18 14:42:59 -03:00
Fabio B. Silva
debc6e4993
change QuoteStrategy#getJoinColumnName to use join column
2012-06-18 14:42:58 -03:00
Fabio B. Silva
a75c672ee7
fix sequence and join columns
2012-06-18 14:42:57 -03:00
Fabio B. Silva
2b8e24fb09
revert wrong commit
2012-06-18 14:42:57 -03:00
Fabio B. Silva
8fec73673d
fix DDC-1719 in persiter and query level
2012-06-18 14:42:56 -03:00
Fabio B. Silva
851d17f940
use quote strategy in SingleTablePersister
2012-06-18 14:42:55 -03:00
Fabio B. Silva
dcd19bba22
use quote strategy in OneToManyPersister
2012-06-18 14:42:55 -03:00
Fabio B. Silva
36296a3906
use quote strategy in JoinedSubclassPersister
2012-06-18 14:42:55 -03:00
Fabio B. Silva
7f64474f3e
use quote strategy in persister
2012-06-18 14:42:54 -03:00
Fabio B. Silva
2af7b3fd38
use quote strategy in BasicEntityPersister
2012-06-18 14:42:54 -03:00
Fabio B. Silva
d49a968d55
tests for DDC-1719
2012-06-18 14:42:53 -03:00
Benjamin Eberlei
6523f7f59e
[DDC-1777] Fix bug in BasicEntityPersister#exists() when no primary key is set.
2012-05-27 17:11:21 +02:00
Benjamin Eberlei
70458b2f48
LGPL => MIT
2012-05-26 14:37:00 +02:00
Marco Pivetta
cb7a77cc03
Removing usage of ClassUtil where not strictly needed
...
Optimizing the ClassMetadataFactory API instead and using ClassMetadata to check actual class names as da962f2e and c27b4de0 introduced too much overhead
2012-04-07 18:53:34 +02:00
Marco Pivetta
cbe4987e18
Using Doctrine\Common\Util\ClassUtil for class_name resolutionThis avoids exceptions when passing a Proxy instance to the public API of the EntityManager, ClassMetadataFactory or UnitOfWork when the Proxy itself isn't generated by the EntityManager itself, while discovering the correct ClassMetadata instance for the proxy
2012-04-07 18:53:33 +02:00
Benjamin Eberlei
ab15528fde
Fix CS: AS => as in foreach loops.
2012-03-24 11:16:32 +01:00
Hugo Hamon
d09b733cc3
[Persisters] removed unused local variable in ManyToManyPersister class.
2012-03-24 11:07:39 +01:00
Hugo Hamon
d4bcbd4741
[Persisters] removed unused local variables in BasicEntityPersister class.
2012-03-24 11:07:39 +01:00
Benjamin Eberlei
9fc1d85e8d
[DDC-1643] Fix bugs when cloning PersistentCollection and re-using it.
2012-02-18 00:42:21 +01:00
Benjamin Eberlei
d995c6dbdc
[DDC-1655][DDC-1650][DDC-1556] Fix issues with @postLoad Callback being not fired, or fired multiple times.
2012-02-17 23:27:16 +01:00
Fabio B. Silva
86054eb659
fix DDC-1642
2012-02-12 22:24:03 -02: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
Daniel Holmes
a12e5ac8a7
Updated some comparisons to strict equality
2012-01-16 08:12:11 +11:00
Daniel Holmes
5deebc8738
Added fix for collection->contains when many-to-many extra lazy fetchMode
2012-01-15 23:25:57 +11:00
Guilherme Blanco
bb10211983
Fixes DDC-1596. Added table alias to discriminator column when using STI.
2012-01-12 23:58:08 -05:00
Alexander
f49a4e9c40
Added tests for OneToMany associations and lazy collection to STI entity
2011-12-22 20:50:57 +01:00
Alexander
62be27b295
Added tests for ManyToMany associations and lazy collection to STI entity
2011-12-22 00:25:21 +01:00
Benjamin Eberlei
cd6131c9b8
Remove all trailing whitespaces
2011-12-19 22:56:19 +01:00
Alexander
de769c6c3c
[DDC-1505] joinColumn "nullable" should be handled true by default
2011-12-18 21:33:38 +01:00
Benjamin Eberlei
003d1410b0
Merge pull request #224 from doctrine/DDC-551
...
DDC-551 - Filter branch
2011-12-18 08:03:23 -08:00
Benjamin Eberlei
43ef8765fd
DDC-1527 - Port bugfix for master branch
2011-12-12 16:39:52 +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
Benjamin Eberlei
ad6130b02d
DDC-551 - Cleanup filters branch, especially inheritance related code and yoda conditions and some inconsistencies
2011-12-11 19:29:36 +01:00
Benjamin Eberlei
69b1eb5c64
DDC-551 - Fix locking mess with filters
2011-12-11 18:46:57 +01:00
Benjamin Eberlei
f7175c229e
DDC-551 - Fix some ugly yoda conditions and a wrong nesting.
2011-12-11 18:39:04 +01:00
Alexander
efe7a01482
[DDC-551] Fixed CS, comments by @stof
2011-12-05 23:00:52 +01:00
Alexander
f4663f4512
[DDC-551] Another batch of small refactorings
2011-12-05 22:19:54 +01:00
Alexander
e8d30068e2
[DDC-551] Various refactorings
2011-12-05 22:05:42 +01:00
Alexander
04635ad4ff
Merge remote-tracking branch 'upstream/master' into DDC-551
...
Conflicts:
lib/Doctrine/ORM/Persisters/ManyToManyPersister.php
lib/Doctrine/ORM/Persisters/OneToManyPersister.php
2011-12-05 21:53:34 +01:00
Alexander
3b7d16c60f
[DDC-551] General cleanup of the code.
2011-12-05 21:14:31 +01:00
Alexander
4c842974b4
[DDC-551] Add filters only on root entities in SingleTablePersister
2011-12-05 18:56:44 +01:00
Alexander
752b502326
[DDC-551] Add filters only on root entities in JoinedSubclassPersister
2011-12-05 18:26:56 +01:00
Alexander
e98c775f0d
Revert "[DDC-551] Initial support for filters in the JoinedSubclassPersister"
...
This reverts commit f6d5f0481e
.
2011-12-05 16:14:04 +01:00
Alexander
f6d5f0481e
[DDC-551] Initial support for filters in the JoinedSubclassPersister
...
Still some things to do.
2011-11-30 23:01:10 +01:00
Alexander
4c94a7ccc5
[DDC-551] Various minor fixes after merge and cleanup
2011-11-30 16:40:55 +01:00
Guilherme Blanco
356f5874bf
Added support to removeElement remove items without initializing the PersistentCollection.
2011-11-29 11:29:17 -05:00
Alexander
be48821e86
Merge remote-tracking branch 'origin/master' into DDC-551
...
Conflicts:
lib/Doctrine/ORM/Persisters/BasicEntityPersister.php
lib/Doctrine/ORM/Query.php
2011-11-23 22:43:42 +01:00
Guilherme Blanco
ef33454301
Reverted PR which broke suite. Issue is still valid, but it requires more investigation.
2011-11-23 08:40:47 -05:00
warezthebeef
b80ef58cab
Fixed array_flip breaking discriminator map SQL generation
2011-11-23 12:15:23 +13:00
Benjamin Eberlei
be4eb63c62
Merge branch 'DBAL-15'
2011-11-21 21:38:05 +01:00
Benjamin Eberlei
135e515e7f
DDC-1500 - Fix potential security problem in EntityRepository ORDER BY orientations
2011-11-21 15:04:46 +01:00
Jan Sorgalla
841d12e9b6
Move check for conversion SQL to ClassMetadataInfo
2011-11-20 19:50:51 +01:00
Jan Sorgalla
6f35679911
Initial implementation of Doctrine\DBAL\Types\Type::convertToDatabaseValueSQL() and Doctrine\DBAL\Types\Type::convertToPHPValueSQL() integration
2011-11-19 00:35:29 +01:00
Benjamin Eberlei
9b32a2d87a
DDC-1452 - Fix missing fetched parameter in BasicEntityPersister
2011-11-14 23:37:02 +01:00
Alexander
ca438fa110
Eagerly fetched entities should only be inner joined if they are loaded
...
from the owning side.
2011-11-03 09:20:41 +01:00
Alexander
53055f1fb2
[DDC-551] Fixed a bug in the sql generation for filters
2011-11-02 15:15:22 +01:00
Alexander
9ccce8ed74
[DDC-551] Add filters to eagerly joined entities in the persisters
2011-11-02 15:15:14 +01:00
Alexander
53386e5247
Merge branch 'master' into innerjoin-on-fetch-eager
...
Conflicts:
lib/Doctrine/ORM/Persisters/BasicEntityPersister.php
2011-10-31 22:24:16 +01:00
Alexander
22b3b46b61
Removed unnecessary spaces in generated SQL
2011-10-31 22:08:40 +01:00
Alexander
3994b80aa4
Fix TODO: Inner join when all join columns are NOT nullable.
2011-10-31 21:36:55 +01:00
Benjamin Eberlei
64d405f7dd
Merge origin/master into DDC-1384
2011-10-30 12:12:18 +01:00
Benjamin Eberlei
f34eb83a7c
DDC-1454 - Fix exists() for Joined table inheritance
2011-10-28 00:50:10 +02:00