Marco Pivetta
86dbddd596
Updating to reflect latest Doctrine Common changes
...
Also, changing logic so that the SimpleAnnotationReader is no more the
default one. An additional parameter for the method will allow using it.
The CS fixes that were additionally implemented (along with other minor changes
that do not affect BC compatibility are caused by a CS sniff via IDE.
2012-07-08 16:30:35 +02:00
Benjamin Eberlei
cc4613533b
Fix tests after DBAL adjustments
2012-07-04 23:58:41 +02:00
Benjamin Eberlei
79d9c07652
[DDC-1693] Fix fatal errors in DQL when using Optimistic or None lock modes. Added tests.
2012-03-11 22:29:20 +01:00
Benjamin Eberlei
f6f2acad4c
Merge Improve Error Messages into 2.2
2011-12-21 23:56:25 +01:00
Benjamin Eberlei
cd6131c9b8
Remove all trailing whitespaces
2011-12-19 22:56:19 +01:00
Benjamin Eberlei
a8906ce572
Stringify entity in all UnitOfWork exceptions
2011-10-22 12:49:33 +02:00
Benjamin Eberlei
fa7574b2ba
Removed AllTests files and Suites
2011-06-18 22:49:25 +02:00
Benjamin Eberlei
32b146ea8a
Switch testsuite to run with phpunit.ini.dist from main folder, not using AllTests approach. Fixed global state problem in tests that was caused by EventManager being reused. Significantly enhanced error message about cascade persist
2011-06-18 22:47:21 +02:00
Guilherme Blanco
dcf358f154
Fixed some warnings from phpunit.
2011-02-19 19:50:58 -02: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
Roman S. Borschel
4a9369de9e
Fixed incorrect transaction management in locking tests.
2010-06-07 00:15:38 +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
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
Benjamin Eberlei
c3303881a9
Fixed IBM DB2 Platform to support locking
2010-05-02 13:18:47 +02:00
Benjamin Eberlei
b8402c9563
Added Gearman Lock Test and Worker, verified lockings indeed works on MySQL, PostgreSQL and Oracle
2010-05-02 13:04:25 +02:00
Benjamin Eberlei
f65a555d04
Merge Upstream into Locking-Branch
2010-05-02 13:02:44 +02:00
Benjamin Eberlei
dfbd9e6e2f
DDC-178 - Add additional tests for Locking Support
2010-04-11 16:43:33 +02: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
da582e1125
[2.0] Fixed hardcoded version field access in optimistic locking.
2010-02-14 10:48:25 +00:00
beberlei
af48974a75
[2.0] DDC-169 - Converted introspection queries of all platforms to return Column, Sequence, Index, ForeignKey Schema Instances instead of arrays, heavily pimped Oracle support thereby.
2009-11-30 19:02:05 +00:00
romanb
733c3c24f7
[2.0] Various necessary fixes and adjustments for oracle as well as fixes for better handling of temporal types. Closed #2452 .
2009-08-28 17:25:28 +00:00
romanb
6a3aa84973
[2.0] Made MySqlPlatform default to innodb table engine. Some cleanups while investigating the optimistic locking failures.
2009-08-28 12:36:06 +00:00
jwage
05d5fe4954
[2.0] Finishing optimistic locking with timestamp support
2009-08-24 17:06:12 +00:00
romanb
3d17cb0d60
[2.0] Applied fixes for character casing issues. Simplified inheritance mapping and improved handling of outer joins in Class Table Inheritance.
2009-08-17 17:58:16 +00:00
romanb
7297ac7baa
[2.0] Addressed #2363 .
2009-07-19 16:54:53 +00:00
romanb
b8090c99a3
[2.0] Moved locking tests into Functional namespace. Fixed several missing flush() calls in some functional association tests. Reordered DELETE statements for ecommerce model tests in OrmFunctionalTestCase in order to maintain referential integrity. Fixed issue with bi-directional self-referencing one-one associations. Some other small improvements and cosmetics. Small hydration performance improvement through inlining method call in UnitOfWork::createEntity().
2009-07-18 11:41:37 +00:00