1
0
mirror of synced 2024-12-14 23:26:04 +03:00
Commit Graph

2903 Commits

Author SHA1 Message Date
Christian Heinrich
64309398e2 Merge commit 'upstream/master' 2010-05-20 14:41:56 +02:00
Christian Heinrich
3fc9971e98 Merge commit 'upstream/master'
Conflicts:
	lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php
2010-05-20 14:17:39 +02:00
David Abdemoulaie
5bbe6c7292 Revert "Adding missing OnFlush annotation."
This reverts commit 79d3f655ef.
2010-05-18 17:20:40 -05:00
David Abdemoulaie
dbeaa3f548 Merge remote branch 'jwage/master'
* jwage/master:
  Adding missing OnFlush annotation.
2010-05-18 17:06:38 -05:00
Roman S. Borschel
a45560dbd0 [DDC-505] Fixed and small lexer simplifcations that were marked as todo. 2010-05-18 22:19:08 +02:00
Jonathan H. Wage
79d3f655ef Adding missing OnFlush annotation. 2010-05-18 13:19:15 -04:00
Roman S. Borschel
3cbee1fa09 Merge commit 'upstream/master' 2010-05-16 13:30:48 +02:00
Roman S. Borschel
3045507a9b [DDC-593] Fixed. 2010-05-16 13:30:40 +02:00
Benjamin Eberlei
d098d62e1e DDC-527 - Fixed bug in OCI8 Driver 2010-05-15 23:07:00 +02:00
Benjamin Eberlei
1067118174 DDC-568 - Fix bug with hints not being passed to hydrator by AbstractQuery::iterate() 2010-05-15 21:52: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
74df4c39dc DDC-592 - Fix Validator notices when mappedBy or inversedBy properties dont exist 2010-05-15 20:54:22 +02:00
Benjamin Eberlei
46684ea5c9 Added a bunch of functional tests for the public read, write and transactional public DBAL API, passing all the current drivers
Added a Write Test
2010-05-15 19:54:56 +02:00
Benjamin Eberlei
dbb5795c53 DDC-178 Removed Doctrine\ORM\LockMode 2010-05-15 12:04:46 +02:00
Benjamin Eberlei
ad402c6ded DDC-178 DQL Optimistic Lock now requires ALL classes to be versioned, otherwise throws exception 2010-05-15 11:53:28 +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
Jonathan H. Wage
73ff99c053 Merge remote branch 'hobodave/DDC-588' 2010-05-14 15:53:18 -04:00
David Abdemoulaie
edf096eb57 [DDC-588] EntityManager::refresh uses fieldName instead of columnName 2010-05-14 14:38:47 -05:00
Jonathan H. Wage
5a92c0b51e Fixing issue with reverse engineering databases. 2010-05-14 12:38:42 -04:00
Jonathan H. Wage
464accecfe Fixing wrong variable name. 2010-05-14 12:33:17 -04:00
Jonathan H. Wage
7ac08931bc Fixing DatabaseDriver to specify nullable => true instead of notnull => false 2010-05-14 12:31:25 -04:00
Roman S. Borschel
5dbd40563c Added control abstractions for transaction demarcation. 2010-05-13 13:19:59 +02:00
Benjamin Eberlei
e62b51cf38 DDC-515 - Deleted obsolte SchemaValidatorCommand (we already had a ValidatorSchemaCommand) 2010-05-12 23:42:48 +02:00
Benjamin Eberlei
d9969901e1 DDC-515 - Fixed some issues with Schema Validation Command 2010-05-12 23:41:28 +02:00
Benjamin Eberlei
57cd2e01bb DDC-515 - Fixed a notice occuring in certain scenarios of the new Validate Schema Tool 2010-05-11 23:12:26 +02:00
Benjamin Eberlei
d00f674a08 DDC-515 - Enhanced Validate-Schema-Command, integrated it with CLI and besides mapping<->database checks also do consistency checks of the mapping files 2010-05-11 23:08:36 +02:00
Christian Heinrich
f2213c4d00 Fixed #DDC-578
Also added a new testcase
2010-05-11 11:19:38 +02:00
Roman S. Borschel
f9b53c6b5c Fixed #DDC-580
Conflicts:

	lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php
2010-05-11 00:03:09 +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
b63afb6ce4 Fixed #DDC-580 2010-05-10 16:41:42 +02:00
Christian Heinrich
c2d2e45859 Fixed #DDC-578
Also added a new testcase
2010-05-10 16:17:17 +02:00
Guilherme Blanco
d0325d7048 Merged with upstream/master 2010-05-08 12:42:06 -03:00
Roman S. Borschel
59d4e0c8e7 [DDC-481] Fixed. 2010-05-08 17:01:20 +02:00
Christian Heinrich
dc3844e167 Fixed #DDC-571 2010-05-08 14:29:43 +02:00
Roman S. Borschel
561236bd56 [DDC-576] Fixed. 2010-05-08 14:08:18 +02:00
Christian Heinrich
4bf3058ab5 Fixed #DDC-571 2010-05-08 00:59:21 +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
Roman S. Borschel
8d52967fcd Polished QueryBuilder API documentation and added another test. 2010-05-07 13:36:25 +02:00
Guilherme Blanco
65fbb9f7a4 Renamed fetchRow to fetchAssoc, as defined in @todo list. Renamed getRollbackOnly to isRollbackOnly, since it is more consistent to its purpose. 2010-05-06 18:45:18 -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
Christian Heinrich
02e582e00e Merge branch 'master' of git://github.com/doctrine/doctrine2 2010-05-06 20:44:29 +02:00
Jonathan H. Wage
3001d26ad4 Fixing typo/mistake. Test coming soon. 2010-05-05 15:14:48 -04:00
Christian Heinrich
e50f77a780 Corrected method names; the interface already used SQL, the files still used Sql in method names 2010-05-05 13:12:38 +02:00
Benjamin Eberlei
c3303881a9 Fixed IBM DB2 Platform to support locking 2010-05-02 13:18:47 +02: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
3899888a0c Merge commit 'upstream/master' 2010-05-01 12:17:03 +02:00
Roman S. Borschel
080f737338 [DDC-534] Fixed. 2010-05-01 12:14:16 +02:00
Benjamin Eberlei
9277dba383 Cleanup in DB2 Platform and SchemaManager 2010-05-01 04:31:10 +02:00
Benjamin Eberlei
604ed962e5 Merged Master into IBM DB2 branch 2010-05-01 04:07:32 +02:00
Benjamin Eberlei
427d4eed29 DDC-541 - Schema Table now return Pk, then Fk, then normal columns in that order 2010-05-01 03:57:58 +02:00
Benjamin Eberlei
6c7aaa727c Added tests for 41e830ca68, thereby finding two issues with XML and YAML Driver handling of Sequence-Generator 2010-05-01 03:28:18 +02:00
Benjamin Eberlei
9cee8bf890 Merge remote branch 'dc2master/master' 2010-05-01 03:12:27 +02:00
Jonathan H. Wage
94928c5dd8 [DDC-552] Fixing issue with getReflectionClass() not existing on ClassMetadataInfo when it is required by AnnotationDriver 2010-04-30 12:27:52 -04:00
Roman S. Borschel
39a6c01978 Merge commit 'upstream/master' 2010-04-30 17:31:53 +02:00
Roman S. Borschel
db2be55e27 [DDC-561] Fixed. 2010-04-30 17:30:27 +02:00
Guilherme Blanco
ba6ed43afa Renamed fetchRow() to fetchAssoc() as marked as a TODO. 2010-04-29 23:02:53 -03:00
Guilherme Blanco
e2766ca636 Fixed double lookup on some cache instances by removing the contains() call in AnnotationReader. 2010-04-29 22:59:51 -03:00
Guilherme Blanco
6705d9b9cc Introduced the concept of DBAL\Transaction and ORM\EntityTransaction. 2010-04-29 22:46:51 -03:00
Guilherme Blanco
50f3435e84 Optimized Query AST resultant of the parsing process phase 1 2010-04-29 22:15:36 -03:00
Jonathan H. Wage
41e830ca68 Fixing sequence-generate in XmlDriver 2010-04-29 08:13:02 -04:00
Benjamin Eberlei
f38584a51e DDC-545 - Add unittest for all drivers uniqueConstraint capabilities, fix bug in XML Driver that disallowed using them 2010-04-28 20:27:53 +02:00
Jonathan H. Wage
de72db2a7a Fixing xml schema generation for code completion in ides 2010-04-28 11:39:47 -04: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
Benjamin Eberlei
025735e730 DDC-536 - Make forwards compatible change in EntityRepository adding getters for the protected variables to allow a smooth change when they will be turned private in Beta2 2010-04-27 19:37:27 +02:00
Benjamin Eberlei
0f7d71cac4 Merge commit 'dc2master/master' 2010-04-27 19:28:34 +02:00
Jonathan H. Wage
6bda2b44fe Renaming PhpDriver to PHPDriver 2010-04-26 14:12:36 +02:00
Roman S. Borschel
d1d1cecc06 Restored missing files. 2010-04-26 14:12:20 +02:00
Roman S. Borschel
bff4f49b7a Merge commit 'upstream/master'
Conflicts:
	lib/Doctrine/Common/Annotations/AnnotationReader.php
	lib/Doctrine/Common/Annotations/Parser.php
2010-04-26 13:17:36 +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
Jonathan H. Wage
27a0058b89 Initial entry of StaticPHPDriver 2010-04-23 16:16:16 -04:00
Jonathan H. Wage
6d29f05d3a Renaming PhpDriver to PHPDriver 2010-04-23 14:37:29 -04:00
Jonathan H. Wage
023f06a420 Merge remote branch 'upstream/master' 2010-04-23 14:32:38 -04:00
Guilherme Blanco
841008c461 [2.0] Coding Standards fixes, added missing docblocks, removed some dependencies from Common package (in Annotations component), etc. 2010-04-23 00:51:32 -03:00
Guilherme Blanco
825cd7f478 [2.0][DDC-529] Fixed undeclared in dbal:run-sql command. Thanks for provided patch, Hannes. 2010-04-22 12:17:58 -03:00
Guilherme Blanco
7006f4dd74 Merge commit 'upstream/master' 2010-04-22 11:35:18 -03:00
Guilherme Blanco
5ecca4f5e0 [2.0][DDC-524] Fixed issue with UPDATE/DELETE statements generating wrong SQL when using Association Paths. 2010-04-22 11:32:01 -03:00
Benjamin Eberlei
c763b47626 Merge commit 'dc2master/master' into lock-support 2010-04-21 20:30:41 +02:00
Benjamin Eberlei
1f656a16ac Renamed Db2 to DB2 2010-04-21 20:23:58 +02:00
Benjamin Eberlei
b7cac8c310 Fixed pecl/ibm_db2 Driver and Connection to run smoothly against the complete test-suite (depending on a c-patch to the extension though) 2010-04-20 23:20:42 +02:00
Roman S. Borschel
4b71afe7c2 Improving metadata caching performance by only serializing what is absolutely necessary. 2010-04-18 22:47:03 +02:00
Benjamin Eberlei
024b2bab91 DDC-496 Finished first versions of platform and schema manager for DB2, DDC-528 Added support for PDO_IBM driver, passing all but 3 tests that are related to CLOB fields 2010-04-18 19:12:38 +02:00
Benjamin Eberlei
fab5ef8429 DDC-515 - First version of a validate mapping command 2010-04-17 08:47:40 +02:00
Jonathan H. Wage
59f3fe3a40 Fixing code style issue 2010-04-16 13:20:46 -04:00
Roman S. Borschel
4b39705cd4 Fixed case-sensitivity of custom DQL functions. 2010-04-15 20:14:03 +02:00
Roman S. Borschel
01c2c06bbf [DDC-512] Fixed. 2010-04-15 18:36:17 +02:00
Roman S. Borschel
29e0863ffa Fixed casing. 2010-04-15 12:41:34 +02:00
Roman S. Borschel
e83bfeede3 Simplified and streamlined configuration classes. 2010-04-15 11:55:03 +02:00
Guilherme Blanco
26ff265652 [2.0][DDC-431] Added coverage, fixing the ticket. 2010-04-14 23:27:33 -03:00
Guilherme Blanco
09fbd8f190 Merge commit 'upstream/master' 2010-04-14 22:16:59 -03:00
Guilherme Blanco
955dc09cb9 [2.0] Optimized support to IdentificationVariable in ArithmeticPrimary 2010-04-14 22:03:29 -03:00
Jonathan H. Wage
c6d784abc5 Fixing ORMException 2010-04-14 20:42:39 -04:00
Jonathan H. Wage
c43740c08a Fixing EntityRepositoryGenerator to not generate the repository if it already exists 2010-04-14 20:42:17 -04:00
Jonathan H. Wage
b2eeac5640 Fixing strict standards notice 2010-04-14 20:41:41 -04:00
Jonathan H. Wage
2f6f8587b5 Fixing changed method names 2010-04-14 20:40:12 -04:00
Jonathan H. Wage
89c71138e6 Fixing changed method names 2010-04-14 20:39:51 -04:00
Guilherme Blanco
d045c6f6c1 Merge commit 'upstream/master' 2010-04-14 21:35:10 -03:00