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 |
|
Alexander
|
079e2b1302
|
[DDC-1384] Fix for generating sql with aliases not longer than MaxIdentifierLength
|
2011-10-22 16:27:56 +02:00 |
|
Alexander
|
07ce4092cd
|
Merge branch 'master' into DDC-551
|
2011-10-21 12:04:29 +02:00 |
|
Guilherme Blanco
|
83a8ed01e7
|
Merge pull request #94 from kwiateusz/findByOnePatch
Now findByOne really retrieve only one entity adding limit to query.
|
2011-10-17 06:24:37 -07:00 |
|
lenar
|
3dc30dee11
|
use the correct targetEntity
|
2011-10-15 20:00:02 +02:00 |
|
Benjamin Eberlei
|
e38076c19a
|
DDC-1421 - Fix potential bug and code-smells
|
2011-10-15 16:57:57 +02:00 |
|
Alexander
|
097d573d26
|
Merge branch 'master' into DDC-551
Conflicts:
lib/Doctrine/ORM/Configuration.php
lib/Doctrine/ORM/Persisters/BasicEntityPersister.php
lib/Doctrine/ORM/Persisters/ManyToManyPersister.php
|
2011-10-14 12:33:39 +02:00 |
|
Benjamin Eberlei
|
9058bc3f5c
|
Fix DDC-1402 - No caching for SingleTablePersister::_getSelectColumnList
|
2011-10-10 17:52:37 +02:00 |
|
Guilherme Blanco
|
24042863ac
|
BasicEntityPersister::exists() was not supporting identifiers that are associations. Fixes DDC-1382.
|
2011-10-03 02:21:14 -03:00 |
|
Alexander
|
63a3fb5ad8
|
[DDC-551] Moved SQLFilter logic to a separate FilterCollection class
|
2011-09-15 21:38:47 +02:00 |
|
Guilherme Blanco
|
e3d133af04
|
Added getQuotedTableName() in missing places of Doctrine ORM. Fixes DDC-1365.
|
2011-09-07 01:48:19 -03:00 |
|
Guilherme Blanco
|
666691f84f
|
Small changes for code readability. Added type binding in JoinedSubclassPersister, which was missing. Fixes DDC-1316.
|
2011-09-05 02:27:06 -03:00 |
|
Alexander
|
ed0fb4ece7
|
Merge branch 'master' into DDC-551
Conflicts:
lib/Doctrine/ORM/Persisters/OneToManyPersister.php
|
2011-08-16 16:59:48 +02:00 |
|
Alexander
|
3800581947
|
[DDC-551] Altered persisters to make filters work with EXTRA_LAZY associations
|
2011-08-16 16:24:50 +02:00 |
|
Guilherme Blanco
|
63a2f02f4d
|
[DDC-408][DDC-1150][DDC-1277] Implemented support to parameter expanding on associations.
|
2011-08-13 21:28:54 -03:00 |
|
Alexander
|
d7dbde8f3e
|
[DDC-1301] Fixed count() for fetch="EXTRA_LAZY" on OneToMany association
|
2011-07-28 11:01:52 +02:00 |
|
kwiateusz
|
d1e9bc6401
|
Now findByOne really retrieve only one entity adding limit to query.
|
2011-07-27 15:43:27 +02:00 |
|
Benjamin Eberlei
|
5733574867
|
Merge branch 'master' of github.com:doctrine/doctrine2
|
2011-07-12 22:47:33 +02:00 |
|
Benjamin Eberlei
|
c261315ea7
|
DDC-1250 - Fix bug with inverse one to one loading and ambigious column names in certain scenarios
|
2011-07-09 22:11:49 +02:00 |
|
Benjamin Eberlei
|
2858b8290f
|
DDC-1238 - Fixed a bug introduced when refactoring persisters hydration. This occurs when you call $em->clear() and you start accessing a proxy.
|
2011-07-04 23:19:08 +02:00 |
|
Benjamin Eberlei
|
5299bd788f
|
DDC-1239 - Fix missing AND in Eager LEFT JOIN of entity persister when multiple join columns are used
|
2011-06-30 21:04:46 +02:00 |
|
Benjamin Eberlei
|
ed516edf90
|
Fix discriminator casing problem in Oracle
|
2011-06-26 17:49:34 +02:00 |
|
Benjamin Eberlei
|
bda4165bf8
|
DDC-1193 - Fix previous commit.
|
2011-06-05 10:02:57 +02:00 |
|
Benjamin Eberlei
|
acaf08d4b7
|
DDC-1193 - Fix bug with cascade remove and proxy classes.
|
2011-06-05 09:59:16 +02:00 |
|
Benjamin Eberlei
|
9ea03de84f
|
DDC-1080 - Fix bug with hydration of derived entities/foreign key as primary key.
|
2011-05-17 23:42:24 +02:00 |
|
Benjamin Eberlei
|
73c7605a5c
|
[DDC-1094] Add support for limit, offset and orderby in EntityRepository::findBy().
|
2011-04-30 23:18:24 +02:00 |
|
Benjamin Eberlei
|
a329007526
|
[DDC-1087] Add missing resolution to IS NULL in EntityRepository when passing a null value as a criteria.
|
2011-04-03 09:03:43 +02:00 |
|
Benjamin Eberlei
|
7a41a205ee
|
[DDC-992] Fix criteria usage of column names clashing with field or associations by prefixing with table names or alias.
|
2011-03-20 17:07:19 +01:00 |
|
Benjamin Eberlei
|
e42a227a7c
|
[DDC-1052] Fix bug with versioning and inheritance
|
2011-03-20 13:07:47 +01:00 |
|
Benjamin Eberlei
|
1b46208aa5
|
[DDC-952] More fixes
|
2011-03-15 21:34:47 +01:00 |
|
Benjamin Eberlei
|
a04ba44874
|
[DDC-952] Introduced SimpleObjectHydrator again for performance reasons.
|
2011-03-15 19:48:04 +01:00 |
|
Benjamin Eberlei
|
38ad25ad4c
|
[DDC-952] Remove all the unnecessary hydration code from all Persisters.
|
2011-03-13 00:23:46 +01:00 |
|
Benjamin Eberlei
|
1bc4b62805
|
[DDC-952] Make collection loading work with hydrators also.
|
2011-03-13 00:15:50 +01:00 |
|
Benjamin Eberlei
|
7c7106b1c1
|
DDC-952 - Fix bug in inverse one-to-one eager loading sql code.
|
2011-03-12 19:11:37 +01:00 |
|
Benjamin Eberlei
|
595c19207c
|
[DDC-914] Always fetch joining inverse side one-to-one associations breaks a ton of DDC-117 tests, investigate why to make this working also.
|
2011-03-09 23:21:33 +01:00 |
|
Benjamin Eberlei
|
077ae9cee9
|
[DDC-914] Fetch join many-to-one/one-to-one associations configured as FETCH_EAGER inside the persisters.
|
2011-03-09 23:14:54 +01:00 |
|
Benjamin Eberlei
|
851f44a066
|
[DDC-952] [DDC-1050] Use ObjectHydrator inside Persisters, removing a bunch of duplicate code (step1, more necessary)
|
2011-03-06 21:26:54 +01:00 |
|
Benjamin Eberlei
|
d9c8a9eecb
|
[DDC-952] Fix merge/rebase mistake.
|
2011-03-06 15:28:26 +01:00 |
|
Benjamin Eberlei
|
03630df20d
|
Add support for IN(?) queries in repositories using the DBAL support for parameter lists.
|
2011-03-06 11:15:56 +01:00 |
|
Benjamin Eberlei
|
3d37e436dd
|
DDC-952 - Refactor eager loading entities, it is only allowed for non composite primary key entities.
|
2011-03-05 11:09:38 +01:00 |
|
Benjamin Eberlei
|
32df9451fd
|
DDC-952 - Implemented first approach for batching eager loads of ToOne associations.
|
2011-03-05 11:08:41 +01:00 |
|
Benjamin Eberlei
|
c144df9be3
|
DDC-1033 - Fix cloning of not initialized proxies.
|
2011-02-26 12:47:59 +01:00 |
|
Benjamin Eberlei
|
9768d08458
|
[DDC-250] Add tests and fix some glitches and finalized index-by patch.
|
2011-02-05 11:42:10 +01:00 |
|
Benjamin Eberlei
|
17c1ed948e
|
[DDC-250] Initial untested support for @ManyToMany(indexBy) and @OneToMany(indexBy) option.
|
2011-02-05 09:31:40 +01:00 |
|
Benjamin Eberlei
|
ed53f8aa74
|
DDC-958 - Fire postLoad event when calling refresh().
|
2011-01-23 17:26:11 +01:00 |
|
Benjamin Eberlei
|
5d333045b9
|
DDC-960 - Bugfix in how Persisters generate Fetch last version of Entity SQL.
|
2011-01-23 12:48:28 +01:00 |
|
Benjamin Eberlei
|
3539b32629
|
DDC-546 - Found some more code that needs DDC-117 compliance.
|
2011-01-02 15:14:12 +01:00 |
|
Benjamin Eberlei
|
a3cab174ca
|
DDC-546 - Updated with support for DDC-117.
|
2011-01-02 14:04:52 +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
|
685e327b43
|
DDC-546 - Fix some rebasing issues.
|
2011-01-02 12:54:55 +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
|
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
|
78d4277e4b
|
Merge branch DDC-117 into master
|
2011-01-02 12:01:05 +01:00 |
|
Benjamin Eberlei
|
a2cc9f0f6d
|
DDC-949 - Bugfix for BasicEntityPersister not using $types for select clauses. This fixes the issue for PostgreSQL however it still occurs on Oracle. DBAL change is necessary for this.
|
2011-01-02 09:38:32 +01:00 |
|
Benjamin Eberlei
|
c2bbaa9ead
|
DDC-117 - Slight changes in the patch and fixing inline comments.
|
2011-01-01 18:53:22 +01:00 |
|
Benjamin Eberlei
|
194a90923d
|
DDC-117 - Finalize patch, fix all the problems of different use-cases by hugely expanding the test-model.
|
2011-01-01 18:17:19 +01:00 |
|
Benjamin Eberlei
|
337e2fa043
|
Fix DDC-795 (subtask of DDC-117) and integrated a test for cascade (that only works with sequence id generators).
|
2010-12-28 19:05:46 +01:00 |
|
Benjamin Eberlei
|
e7b4dca611
|
Merge master into DDC-117
|
2010-12-28 17:27:47 +01:00 |
|
Benjamin Eberlei
|
2d89ddfb1f
|
DDC-837 - Fix bug with associations of the same name not being possible in inheritance hierachies.
|
2010-12-28 14:56:13 +01:00 |
|
Benjamin Eberlei
|
d87391e40c
|
DDC-933 - Fix bug in lock sql generation of CTI classes.
|
2010-12-14 23:26:40 +01:00 |
|
Juozas Kaziukenas
|
b6da2e0e42
|
Proper FORM clause generation to support locking
|
2010-11-16 16:12:08 -08:00 |
|
Benjamin Eberlei
|
ac85584e9b
|
DDC-870 - Fix several bugs with optimistic locking, conversion of types, multiple updating of values and inheritance related stuff.
|
2010-11-09 23:15:14 +01:00 |
|
Benjamin Eberlei
|
97eeb437b2
|
DDC-832 - Fix regression introduced with last commit.
|
2010-10-30 19:54:36 +02:00 |
|
Benjamin Eberlei
|
515ef33665
|
Fix quoting in BasicEntityPersister::_updateTable and BasicEntityPersister::delete. Added 6 tests for quoting of table names in different update, delete and inheritance scenario combinations
|
2010-10-30 19:33:20 +02:00 |
|
Benjamin Eberlei
|
89d0a52c4f
|
DDC-833 - Fix some nasty bug occouring when re-creating an entity that was a proxy before. Also found another nasty issue with refreshing entity that had an already loaded many-to-many or one-to-many association.
|
2010-10-11 22:15:18 +02:00 |
|
Benjamin Eberlei
|
140ddf5098
|
DDC-817 - Add possibility to query by owning side association join column ids and tests for plain entities, single- and joined table inheritance
|
2010-09-27 22:31:18 +02:00 |
|
Benjamin Eberlei
|
13da816f4e
|
DDC-748 - Fix bug in EntityManager::refresh() when entity has an owning side many-to-one bi-directional association
|
2010-09-12 21:41:22 +02:00 |
|
Benjamin Eberlei
|
5799e391c6
|
Fix bug with updating assoc-id entities
|
2010-08-15 14:40:06 +02:00 |
|
Benjamin Eberlei
|
e45c52b024
|
Merge Removal of association classes into DDC-117 branch, quite some merge efforts necessary to get it working again
|
2010-08-13 23:23:11 +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
|
7b07a17886
|
Merge branch 'master' into DDC-117
|
2010-08-08 14:07:24 +02:00 |
|
Roman S. Borschel
|
3630e06b84
|
[DDC-522][DDC-419][DDC-383] Fixed.
|
2010-08-08 12:40:32 +02:00 |
|
Benjamin Eberlei
|
c697a2d47f
|
Prototype hack of @ManyToOne + @Id support with two test-scenarios, composite association key only composite key, and a mixed key scenario. I think single foreign association would work also
|
2010-08-07 19:33:54 +02:00 |
|
Benjamin Eberlei
|
ede6205204
|
DDC-130 - Make self-referential relationsships work by deleting both the owning and the inverse pair of keys
|
2010-07-10 13:35:58 +02:00 |
|
Benjamin Eberlei
|
b0e4d06c40
|
DDC-130 - Refactored deleteJoinTableRecords() even more, simplified approach disfavouring evil legacy database schemas
|
2010-07-10 13:12:33 +02:00 |
|
Benjamin Eberlei
|
1794127d51
|
DDC-130 - Refactored deleteJoinTableRecords() support
|
2010-07-10 12:04:02 +02:00 |
|
beberlei
|
233b3cd0b9
|
DDC-130 - Add initial version of deleteJoinTableRecords code on the persisters, flanked by 4 tests.
|
2010-07-09 22:55:30 +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
|
d4de420349
|
DDC-178 - Finish missing support for lock() on Class Table Inheritance Entities
|
2010-07-04 14:37:17 +02:00 |
|
Benjamin Eberlei
|
552865a867
|
DDC-649 - Remove IN queries for empty discriminator values if abstract base class is not part of the discriminator map
|
2010-07-04 13:34:41 +02:00 |
|
Roman S. Borschel
|
616f2eda0a
|
[DDC-531] Fixed.
|
2010-05-21 11:49:05 +02:00 |
|
Benjamin Eberlei
|
78328ec6ea
|
DDC-178 - Removed Doctrine\ORM\LockMode in favour of Doctrine\DBAL\LockMode
|
2010-05-15 11:48:20 +02:00 |
|
Benjamin Eberlei
|
64b57bbcfb
|
Merge upstream into lock-support branch
|
2010-05-15 09:41:32 +02:00 |
|
Roman S. Borschel
|
f619a15a63
|
Removed EntityTransaction until it has a real purpose. Added the affected entity to OptimisticLockException. Updated functional optimistic locking tests accordingly.
|
2010-05-10 23:51:56 +02:00 |
|
Christian Heinrich
|
20c6259fa3
|
Corrected method names; the interface already used SQL, the files still used Sql in method names
|
2010-05-07 13:44:22 +02:00 |
|
Benjamin Eberlei
|
f65a555d04
|
Merge Upstream into Locking-Branch
|
2010-05-02 13:02:44 +02:00 |
|
Roman S. Borschel
|
ae39a5d389
|
Fixed svn dependency in build file and some weird issues where the oci8 driver loses spaces in the sql while transforming positional to named parameters.
|
2010-04-27 20:11:42 +02:00 |
|
Roman S. Borschel
|
d1d1cecc06
|
Restored missing files.
|
2010-04-26 14:12:20 +02:00 |
|
Roman S. Borschel
|
b505a27370
|
Renamed StandardEntityPersister to BasicEntityPersister
|
2010-04-26 13:12:46 +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 |
|