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 |
|
Benjamin Eberlei
|
c763b47626
|
Merge commit 'dc2master/master' into lock-support
|
2010-04-21 20:30:41 +02:00 |
|
Roman S. Borschel
|
01c2c06bbf
|
[DDC-512] Fixed.
|
2010-04-15 18:36:17 +02:00 |
|
Roman S. Borschel
|
d4232d906e
|
[DDC-388] Fixed.
|
2010-04-14 17:07:08 +02:00 |
|
Roman S. Borschel
|
db603547a2
|
Added failing test for DDC-388. Naming refactorings and comment cleanups.
|
2010-04-13 00:49:19 +02:00 |
|
Benjamin Eberlei
|
dfbd9e6e2f
|
DDC-178 - Add additional tests for Locking Support
|
2010-04-11 16:43:33 +02:00 |
|
Benjamin Eberlei
|
4a1c3785ec
|
Merge commit 'dc2master/master' into lock-support
|
2010-04-10 10:12:35 +02:00 |
|
Roman S. Borschel
|
7cc56c45d3
|
[DDC-193] Fixed.
|
2010-04-10 00:00:36 +02:00 |
|
Benjamin Eberlei
|
e6a44b145f
|
[DDC-178] First approach to Locking support
|
2010-04-08 22:50:06 +02:00 |
|
beberlei
|
c9f1954044
|
[2.0] DDC-342 - Throw Exception with notice in case of Many To Many relation pointing to Joined Inheritance Hierachy until this feature is completed
|
2010-04-03 07:09:20 +00:00 |
|
guilhermeblanco
|
c9de54b4a2
|
[2.0] Changed Connection::execute() to Connection::executeQuery() as defined as a todo.
|
2010-03-31 21:13:34 +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
|
76663a0501
|
[2.0][DDC-416] Fixed.
|
2010-03-18 11:40:43 +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
|
df6ca602fb
|
[2.0][DDC-92] Fixed. Patch provided by Christian Heinrich. [DDC-274] Started some method renaming. [DDC-142] Fixed (join column names and discriminator column names dont support quoting) [DDC-258] Fixed.
|
2010-03-05 16:35:00 +00:00 |
|
beberlei
|
a0fc09855b
|
[2.0] DDC-353 - Fix UnitOfWork::createEntity and StandardPersister::refresh() not marking created Proxy instances as MANAGED like EntityManager::getReference() does
|
2010-02-28 14:14:44 +00:00 |
|
romanb
|
a1a8093888
|
[2.0] First draft for onFlush event.
|
2010-02-24 19:19:04 +00:00 |
|
beberlei
|
e5ed3f66ac
|
[2.0] DDC-351 - Fix Delete in JoinedSubclassPersister
|
2010-02-19 22:49:03 +00:00 |
|
beberlei
|
31b0705ed5
|
[2.0] DDC-336 DDC-337 - Changed @OrderBy annotation to take a DQL not SQL snippet, restrict it to field names and positional orderings. Changed all test-cases and added a test-case that shows the behaviour for OneToMany JoinedSubclassPersister Managed Entities.
|
2010-02-15 22:50:35 +00:00 |
|
beberlei
|
30d1b54db1
|
[2.0] DDC-337 - Collections that are fetched through StandardEntityPersister and ordered are sorted by any given ORDER BY snippet. Now only the DQL Parser is missing in this regard.
|
2010-02-14 21:21:43 +00:00 |
|
romanb
|
da582e1125
|
[2.0] Fixed hardcoded version field access in optimistic locking.
|
2010-02-14 10:48:25 +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 |
|
beberlei
|
98a77d9387
|
[2.0] Add missing Docblock comments in AbstractCollectionPersister
|
2010-02-07 13:23:20 +00:00 |
|
romanb
|
94d41dfbdc
|
[2.0][DDC-279] Fixed.
|
2010-01-29 21:24:29 +00:00 |
|
guilhermeblanco
|
ad578e57f7
|
[2.0][DDC-240] Fixed issue with StandardEntityPersister that was attempting to delete Entities based on field names instead of column names.
|
2010-01-05 17:07:57 +00:00 |
|
romanb
|
afbe3add30
|
[2.0][DDC-221] Namespace fixes.
|
2009-12-22 13:56:30 +00:00 |
|
romanb
|
30ed439111
|
[2.0][DDC-144][DDC-113] Fixed.
|
2009-12-18 12:30:19 +00:00 |
|
romanb
|
3d14da4105
|
[2.0][DDC-168] Moved INSERT SQL generation to persisters during runtime.
|
2009-12-17 13:37:47 +00:00 |
|
romanb
|
fe7ef4bbeb
|
[2.0][DDC-122][DDC-97][DDC-98][DDC-147] Refactored metadata mapping drivers by removing the useless PRELOAD mode. Introduced ClassMetadataFactory#getAllMetadata. Classloader simplifications. Old classloaders deprecated. New Doctrine\Common\ClassLoader is almost the same as the previous IsolatedClassLoader.
|
2009-12-15 21:06:32 +00:00 |
|
romanb
|
097d1d6bee
|
[2.0] Fixed _doMerge not to use hydrateAdd.
|
2009-12-11 10:38:21 +00:00 |
|
romanb
|
909e98c6f2
|
[2.0][DDC-202][DDC-132][DDC-185] Fixed.
|
2009-12-09 12:37:57 +00:00 |
|
romanb
|
1013eb66c1
|
[2.0] Fixed PHP Notice in SchemaTest (only variables should be passed by reference...) and a few other cosmetics in various parts.
|
2009-12-07 12:47:23 +00:00 |
|
romanb
|
22375235db
|
[2.0][DDC-162][DDC-94] Fixed.
|
2009-12-02 20:49:10 +00:00 |
|
romanb
|
fdd9b05158
|
[2.0] Fix for optimistic locking.
|
2009-11-25 21:48:04 +00:00 |
|
romanb
|
555b097641
|
[2.0][DDC-164][DDC-165] Fixed. Cleaned up ManyToManyMapping. Cleaned up identifier handling and handling of composite identifiers in some places.
|
2009-11-21 18:52:02 +00:00 |
|
romanb
|
8e3f6eee0a
|
[2.0][DDC-121] Fixed. Also fixed memcache tests and some small refactorings.
|
2009-11-08 11:07:49 +00:00 |
|
beberlei
|
b24811e29a
|
[2.0] Fix Fatal errors in unused classes that crash the testsuite when running PHPUnit with coverage-whitelisting of complete Doctrine directory.
|
2009-11-06 17:05:22 +00:00 |
|
romanb
|
7bbdac1c88
|
[2.0][DDC-61][DDC-108] Fixed. Started exception refactoring.
|
2009-11-03 18:30:21 +00:00 |
|
romanb
|
f572c372dc
|
[2.0] Fixed DDC-18. Simplified proxy classes. Just 1 proxy class per entity now, instead of 2.
|
2009-10-28 15:32:55 +00:00 |
|
romanb
|
4fc1781d78
|
[2.0][DDC-22] Fixed. Also cleaned up association handling. More to come: exception refactorings, proxy simplifications (single proxy class, not two).
|
2009-10-28 10:31:47 +00:00 |
|