Roman S. Borschel
|
69073c4b37
|
Fixes for merging bidirectional associations where both sides define cascade=merge as well as fixes for handling null values and proxies properly in single-valued associations.
|
2010-07-30 17:19:50 +02:00 |
|
Roman S. Borschel
|
954a8c3935
|
Updated tests.
|
2010-07-30 17:19:50 +02:00 |
|
Benjamin Eberlei
|
c217b33c45
|
DDC-714 - Bug in refactored persistNew() functionality leads to failure with pre-persist id generators
|
2010-07-25 16:32:04 +02:00 |
|
Roman S. Borschel
|
a05003016b
|
Stricter detection of the NOTIFY policy.
|
2010-07-16 11:16:06 +02:00 |
|
Roman S. Borschel
|
e7ac35ed95
|
[DDC-119] Fixed.
|
2010-07-15 15:55:45 +02:00 |
|
Benjamin Eberlei
|
d288e99a34
|
DDC-681 - Fix call to wrong function, need field not column names in lock()
|
2010-07-10 19:23:38 +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 |
|
beberlei
|
b56e1e31af
|
DDC656 - Fix bug with order of fields when recomputeSingleEntityChangeSet() is called after lifecycle events are invoked
|
2010-07-04 08:54:57 +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
|
37b4652639
|
[DDC-599] Fixed.
|
2010-06-07 00:31:59 +02:00 |
|
Benjamin Eberlei
|
ba6cb6bd14
|
Fixed nasty bug with Proxies not getting initialized correctly.
|
2010-05-15 21:32:34 +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
|
8a67621b6a
|
DDC-178 - Fixed problems occuring from merging upstream, re-ran API and tests, finalizing lock-support for merge with upstream
|
2010-05-15 09:58:39 +02:00 |
|
Benjamin Eberlei
|
64b57bbcfb
|
Merge upstream into lock-support branch
|
2010-05-15 09:41:32 +02:00 |
|
David Abdemoulaie
|
668456e4d8
|
[DDC-588] EntityManager::refresh uses fieldName instead of columnName
|
2010-05-14 22:10:13 +02:00 |
|
Roman S. Borschel
|
5dbd40563c
|
Added control abstractions for transaction demarcation.
|
2010-05-13 13:19:59 +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 |
|
Guilherme Blanco
|
d0325d7048
|
Merged with upstream/master
|
2010-05-08 12:42:06 -03:00 |
|
Guilherme Blanco
|
b12b8b0041
|
Revertd partially the support to DBAL\Transaction, it was wrong. Fixed implementation of ORM\EntityTransaction and fixed tests.
|
2010-05-06 18:39:19 -03:00 |
|
Benjamin Eberlei
|
f65a555d04
|
Merge Upstream into Locking-Branch
|
2010-05-02 13:02:44 +02:00 |
|
Guilherme Blanco
|
4ab5dffc4c
|
Fixed UnitOfWork and isRollbackOnly flag.
|
2010-05-01 11:49:14 -03:00 |
|
Roman S. Borschel
|
080f737338
|
[DDC-534] Fixed.
|
2010-05-01 12:14:16 +02:00 |
|
Guilherme Blanco
|
6705d9b9cc
|
Introduced the concept of DBAL\Transaction and ORM\EntityTransaction.
|
2010-04-29 22:46:51 -03: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
|
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 |
|
guilhermeblanco
|
511bf2248e
|
[2.0] Fixed and added some missing/wrong docblocks. Renamed Assigned to AssignedGenerator as scheduled to be renamed.
|
2010-03-30 21:14:17 +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
|
2209c5ef30
|
[2.0][DDC-444] Fixed.
|
2010-03-20 09:40:50 +00:00 |
|
romanb
|
53eb51b687
|
[2.0][DDC-422] Fixed.
|
2010-03-18 13:43:38 +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 |
|
beberlei
|
bc6714c2c8
|
[2.0] DDC-414 - Changed semantics of preUpdate Event to allow only changes to the entity changeset, not the internal state of the entity anymore.
|
2010-03-14 22:16:15 +00:00 |
|
beberlei
|
f3f72edb45
|
[2.0] Give public access to the computed collection deletions and updates for possible use with the onFlush event.
|
2010-03-13 09:19:12 +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 |
|
romanb
|
74a4328833
|
[2.0] Refactored UoW#createEntity slightly for perf. reasons (documented properly now).
|
2010-02-28 22:48:50 +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
|
50190c64d3
|
[2.0] DDC-358 - Refactored UnitOfWork Event triggering capabilities - Revert preUpdate change - Its not good!
|
2010-02-23 20:36:07 +00:00 |
|
romanb
|
82e42123de
|
[2.0][DDC-345] Fixed.
|
2010-02-23 14:58:12 +00:00 |
|
beberlei
|
ac62e4d9bb
|
[2.0] DDC-358 - Refactored UnitOfWork Event triggering capabilities
|
2010-02-21 21:55:39 +00:00 |
|
romanb
|
639718e95c
|
[2.0][DDC-335][DDC-347][DDC-317] Fixed. Also prepared DQL for CASE/COALESCE/NULLIF support.
|
2010-02-19 21:28:17 +00:00 |
|
romanb
|
ca23555c3e
|
[2.0][DDC-79][DDC-261] Fixed. Also fixed support for deleting objects by reference (getReference() + remove() + flush()) to effectively delete objects without loading them.
|
2010-02-10 10:47:42 +00:00 |
|
romanb
|
94d41dfbdc
|
[2.0][DDC-279] Fixed.
|
2010-01-29 21:24:29 +00:00 |
|
romanb
|
46ed63d131
|
[2.0][DDC-251] Fixed.
|
2010-01-18 12:50:39 +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
|
6ffa75ab40
|
[2.0] Fix to clear _scheduledFirDirtyCheck properly after a successful flush of a unit of work.
|
2009-12-23 13:50:23 +00:00 |
|
romanb
|
60b9fb7c5b
|
[2.0] Some small cleanups.
|
2009-12-21 11:06:27 +00:00 |
|
romanb
|
30ed439111
|
[2.0][DDC-144][DDC-113] Fixed.
|
2009-12-18 12:30:19 +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
|
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
|
69a0b597c8
|
[2.0][DDC-174] Fixed.
|
2009-12-02 20:32:41 +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
|
124cbe9086
|
[2.0][DDC-137] Fixed.
|
2009-11-15 11:42:05 +00:00 |
|
romanb
|
c3ef019549
|
[2.0][DDC-145] Fixed.
|
2009-11-13 19:34:10 +00:00 |
|
romanb
|
94d771172e
|
[2.0][DDC-74] Fixed.
|
2009-11-13 16:39:28 +00:00 |
|
romanb
|
ab0c7b11c8
|
[2.0][DDC-136] Some fixes to internal UnitOfWork logic.
|
2009-11-11 16:20:29 +00:00 |
|
romanb
|
7f725aa71c
|
[2.0][DDC-121] Fixed unintended collection initialization in UnitOfWork.
|
2009-11-07 11:54:47 +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
|
ce6905cc5d
|
[2.0] Fixed commit order calculation.
|
2009-10-28 11:00:17 +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 |
|
romanb
|
08694d1826
|
[2.0] Some optimizations and small fixes.
|
2009-10-25 21:40:57 +00:00 |
|
romanb
|
4328a4e9e3
|
[2.0] Small refactorings on the cache drivers. Introduced flag to control whether the cache driver should manage the cache keys since this is an advanced feature that is not always needed and can have negative side-effects (higher probability for cache slams).
|
2009-10-23 15:03:00 +00:00 |
|
romanb
|
ae9a4be658
|
[2.0] Formatting.
|
2009-10-22 12:53:25 +00:00 |
|
romanb
|
e2d678cc10
|
[2.0] Refactorings to reduce duplicated code and increase efficiency.
|
2009-10-22 12:50:58 +00:00 |
|
romanb
|
0b3ae4b169
|
[2.0] Removed all remaining references to deprecated allowPartialObjects option.
|
2009-10-15 19:03:27 +00:00 |
|
romanb
|
5842411afe
|
[2.0][DDC-49][DDC-50][DDC-33] Fixed DDC-49 and DDC-50. Also addressed DDC-33. Various other small changes and fixes. For problems with proxy objects please refer to the updated documentation.
|
2009-10-15 14:39:43 +00:00 |
|
romanb
|
cb1c7bce48
|
[2.0] DBAL cleanups (DDC-46). Proxy class improvements (DDC-19, DDC-39). Started new UPGRADE_TO document for upgrade instructions between advancing Doctrine 2 versions.
|
2009-10-14 20:18:36 +00:00 |
|
romanb
|
f731a083b6
|
[2.0][DDC-41] Fixed. Also related to DDC-2.
|
2009-10-12 11:55:22 +00:00 |
|
romanb
|
bb6e54fba1
|
[2.0][DDC-21] Fixed.
|
2009-10-09 14:27:35 +00:00 |
|
romanb
|
b8bcd51ff2
|
[2.0][DDC-32] Fixed.
|
2009-10-07 12:39:46 +00:00 |
|
romanb
|
71c1fe5221
|
[2.0][DDC-2] Fixed.
|
2009-10-06 10:04:32 +00:00 |
|
romanb
|
435acc9188
|
[2.0][DDC-24] Fixed (together with some small misc. refactorings).
|
2009-10-01 12:00:14 +00:00 |
|
romanb
|
49a24c4ef8
|
[2.0] Fixed #2478.
|
2009-09-06 08:48:44 +00:00 |
|
guilhermeblanco
|
686758e846
|
[2.0] fixes #2478 Now PersistentCollections may contain NEW elements and track policy monitor them when flushing on DEFER_IMPLICIT mode
|
2009-09-06 03:25:44 +00:00 |
|
romanb
|
94c187685b
|
[2.0] Work on CLI: Added SchemaToolTask with preliminary support for dropping/creating the database schema. Prepared the sandbox. Adjusted build to include the sandbox.
|
2009-08-31 16:21:29 +00:00 |
|
jwage
|
f83fd8e950
|
[2.0] Updating exceptions to use methods so that we can later provide better exception messages
|
2009-08-26 22:03:39 +00:00 |
|
romanb
|
c3081adb09
|
[2.0] Moved beginTransaction() in UnitOfWork#commit() out of the try block so that exceptions occuring during prior or on transaction start are not masked by another exception.
|
2009-08-26 09:10:14 +00:00 |
|
romanb
|
b1d34fca1c
|
[2.0] Work on SchemaTool and DBAL.
|
2009-08-21 18:13:22 +00:00 |
|
romanb
|
32069cc2b5
|
[2.0] More preparations to fix character casing issue. Reverted and completed ConditionalPrimary parsing and added more tests for this.
|
2009-08-16 16:36:00 +00:00 |
|
romanb
|
e578bad687
|
[2.0] Fixed several referential integrity issues. Fixed critical issue with inserts being run twice on postgresql/oracle. Added support for additional tree walkers that modify the AST prior to SQL construction and started to play with it in a testcase.
|
2009-08-13 10:13:06 +00:00 |
|
romanb
|
8797921937
|
[2.0] Removed AssociationMappings from ResultSetMapping for improved caching. Fixed caching issue with reflection classes and properties. Reimplemented and leaned up broken identifier quoting. Added support for named (native) queries. Fixed small hydration memory leak.
|
2009-08-11 10:51:38 +00:00 |
|
romanb
|
e1f2b8abec
|
[2.0] Implemented support for mapped superclasses. Fixed #2353.
|
2009-07-30 15:16:02 +00:00 |
|
romanb
|
92214eaf37
|
[2.0] Part II for ticket #2352. Fixed #2352.
|
2009-07-29 12:00:08 +00:00 |
|
romanb
|
2ec4cc5cbe
|
[2.0] More cleanups for recent lazy-loading implementation and minor object hydration improvements and cleanups. Collection refactoring part I for ticket #2352.
|
2009-07-29 11:57:27 +00:00 |
|
piccoloprincipe
|
c073f1d113
|
[2.0] completed implementation of lazy loading for Collections. Created debug helper class. Fixed default for orderBy clause to ASC
|
2009-07-28 11:43:42 +00:00 |
|
romanb
|
2807a83d5d
|
[2.0] Started to simplify commit order calculation.
|
2009-07-27 09:50:22 +00:00 |
|
romanb
|
28ca2acb8b
|
[2.0] Refined implementation and semantics of the merge and detach operations. General cleanups and API improvements. Added a testcase for detaching/serializing->unserializing->modifying->merging to demonstrate the transparent serialization.
|
2009-07-25 16:33:29 +00:00 |
|
romanb
|
da07bf4a37
|
[2.0] Small refactorings.
|
2009-07-24 11:33:38 +00:00 |
|
romanb
|
d674f1923d
|
[2.0] Fixed #2373. Some small perf. improvements for UnitOfWork.
|
2009-07-23 09:52:16 +00:00 |
|
romanb
|
1299e83853
|
[2.0] Fixed docblock and return value from previous commit.
|
2009-07-21 15:57:11 +00:00 |
|
romanb
|
ae1b9371ec
|
[2.0] Fixed #2366.
|
2009-07-21 15:53:58 +00:00 |
|
romanb
|
49434b0322
|
[2.0] Further cleanups. Started eager loading support.
|
2009-07-21 09:25:14 +00:00 |
|
romanb
|
7297ac7baa
|
[2.0] Addressed #2363.
|
2009-07-19 16:54:53 +00:00 |
|
romanb
|
59cf1f745d
|
[2.0] added entity lifecycle events.
|
2009-07-18 18:06:30 +00:00 |
|