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

2926 Commits

Author SHA1 Message Date
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
Jonathan H. Wage
3001d26ad4 Fixing typo/mistake. Test coming soon. 2010-05-05 15:14:48 -04: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
efb33a8365 Merging some fixes to Symfony Console component 2010-04-16 13:21:16 -04: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
Jonathan H. Wage
be4d158b2c Merge remote branch 'upstream/master' 2010-04-14 15:24:14 -04:00
Jonathan H. Wage
4d758035cc Extracting repository generation code to standalone class so it can be re-used 2010-04-14 15:19:48 -04:00
Jonathan H. Wage
32a81f09d1 Fixing generate-repositories command so it works again after migration to Symfony console 2010-04-14 14:32:47 -04:00
Jonathan H. Wage
146b22a1a5 Making 2nd argument of getExporter() optional again 2010-04-14 14:18:10 -04:00
Jonathan H. Wage
ac4e33d056 Fixing issue with EntityGenerator spaces 2010-04-14 14:17:55 -04:00
Jonathan H. Wage
3afc8f794a Throw exception when entity generator is not set 2010-04-14 14:17:09 -04:00
Jonathan H. Wage
d150f8a6f7 Fixing issue with 4 spaces being hardcoded and not replaced with the configured amount of spaces 2010-04-14 11:21:39 -04:00
Roman S. Borschel
f3c672a2e5 Merged from upstream/master. 2010-04-14 17:21:15 +02:00
Roman S. Borschel
10acab655d Adding new API docs. 2010-04-14 17:13:14 +02:00
Roman S. Borschel
d4232d906e [DDC-388] Fixed. 2010-04-14 17:07:08 +02:00
Jonathan H. Wage
d656566791 Merge remote branch 'upstream/master' 2010-04-14 10:32:11 -04:00
Jonathan H. Wage
ceb05e85ef Removing ClassMetadataReader 2010-04-14 10:31:50 -04:00
Roman S. Borschel
7fefe3f4b4 Merge commit 'upstream/master' 2010-04-14 10:50:37 +02:00
Roman S. Borschel
4106002344 Small refactorings. 2010-04-14 10:46:35 +02:00
Guilherme Blanco
889094709e [2.0] Added support to IdentificationVariable that was missing in ArithmeticPrimary (it was not correctly handling it). Uncommented a unit test that added coverage to it. 2010-04-14 00:04:44 -03:00
Guilherme Blanco
f3d91b9ea9 [2.0] Fixed E_NOTICE being throwing when ->getSingleScalarResult() is called and no result is found. Added coverage for this and also for multiple result (NonUniqueResultException). 2010-04-13 22:06:01 -03:00
Jonathan H. Wage
bce7ebfcc3 Fixing convert-mapping task to use the DisconnectedClassMetdataFactory 2010-04-13 18:58:43 -04:00
Jonathan H. Wage
44e656dc0a Adding description to _getParentClasses() 2010-04-13 18:24:48 -04:00
Jonathan H. Wage
45969840f0 Fixing class description 2010-04-13 18:22:08 -04:00
Jonathan H. Wage
5cfe9e1d94 Introducing DisconnectedClassMetadataFactory that will replace the need for ClassMetadataReader 2010-04-13 18:20:41 -04:00
Jonathan H. Wage
12c9ca971b Merge remote branch 'origin/master' 2010-04-13 14:14:02 -04:00
Jonathan H. Wage
97e29e00a7 Fixing orm:generate-proxies command to create the destination direction if it does not exist yet 2010-04-13 14:12:44 -04:00
Jonathan H. Wage
10aaf93c44 Fixing ensure-production-settings task to not throw an exception and instead use the Output object to output an error 2010-04-13 14:12:13 -04:00
Jonathan H. Wage
0f4ba3b875 Fixing issue with orm:convert-mapping task and dest-path that does not exist yet as well when reverse engineering from-database 2010-04-13 14:11:21 -04:00
Jonathan H. Wage
c81b770a0d Fixing issue with orm:clear-cache:result command after the migration to Symfony console 2010-04-13 14:10:12 -04:00
Jonathan H. Wage
5442a32db8 Fixing incorrect exception method used 2010-04-13 14:09:39 -04:00
Jonathan H. Wage
071adf68cd Fixing tabs in ClassMetadata class 2010-04-13 14:09:11 -04:00
Guilherme Blanco
56a8f5cd53 [2.0][DDC-448][DDC-513] Fixed issue with Joined Inheritance Type and One To One Associations. 2010-04-13 00:29:29 -03:00
Guilherme Blanco
b6f9cd0c07 [2.0][DDC-503] Added missing IdGeneratorType. 2010-04-12 21:54:43 -03:00
Roman S. Borschel
6d08164162 Merge commit 'upstream/master' 2010-04-13 00:50:12 +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
317e84d8d7 DDC-510 - Moved AnnotationDriver Factory Method onto Configuration instance 2010-04-11 11:06:54 +02:00
Benjamin Eberlei
45cd2afd27 DDC-510 - Simplified Condition to check if Paths are set in AnnotationDriver 2010-04-11 10:52:53 +02:00
Benjamin Eberlei
4cf5b7afdc DDC-510 Move Exception for no Metadata Driver from Configuration to EntityManager::create, commit missing MetadataFilter 2010-04-11 10:51:31 +02:00
Benjamin Eberlei
700060cfb2 DDC-510 Refactored all Command Tools to use ClassMetadataFactory instead of ClassMetadataReader 2010-04-11 09:30:01 +02:00
Benjamin Eberlei
6e5b1bbe60 DDC-510 - Refactored Metadata Driver to be an required option, even for Annotations - allowing to use the specified paths in ORM Tooling Commands 2010-04-10 17:35:18 +02:00
Benjamin Eberlei
b2fe3820fc DDC-502, DDC-507 - Changes to how Annotation Metadata Driver is handled in SchemaTool Command, Specifiying Mapping paths is now required for this to work. 2010-04-10 12:31:48 +02:00
Benjamin Eberlei
5d329d7e2c DDC-502, DDC-507 - Fix refactorings to work with Annotations Driver also 2010-04-10 11:38:45 +02:00