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

775 Commits

Author SHA1 Message Date
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
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
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
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
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
Benjamin Eberlei
a7d07fcdba DDC-502, DDC-507 - Refactored SchemaTool Commands 2010-04-10 11:38:34 +02:00
Benjamin Eberlei
4a1c3785ec Merge commit 'dc2master/master' into lock-support 2010-04-10 10:12:35 +02:00
Roman S. Borschel
cb616956c6 Merge commit 'upstream/master' 2010-04-10 00:12:30 +02:00
Roman S. Borschel
7cc56c45d3 [DDC-193] Fixed. 2010-04-10 00:00:36 +02:00
Benjamin Eberlei
a0b821cde8 Merge commit 'dc2master/master' into lock-support 2010-04-09 15:15:58 +02:00
Guilherme Blanco
e4d8efa394 [2.0] Couple of fixes to new Console implementation 2010-04-09 00:53:29 -03:00
Benjamin Eberlei
e6a44b145f [DDC-178] First approach to Locking support 2010-04-08 22:50:06 +02:00
Guilherme Blanco
5854bcab11 [2.0] Added new Console support 2010-04-08 00:47:42 -03:00
Guilherme Blanco
45de5c6932 [2.0] Removed old CLI support. 2010-04-08 00:30:11 -03:00
jwage
c1522d104a [2.0] Adding blank README files 2010-04-06 03:04:02 +00:00
beberlei
289ce4727b [2.0] DDC-492 - Allow access to ParserResult and Query in TreeWalkerAdapter 2010-04-04 22:24:37 +00: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
beberlei
95994f7a44 [2.0] DDC-341 - Added Composite Model-Set and 3 tests, fixed two bugs in SqlWalker with Composite Key support 2010-04-02 21:37:15 +00:00
beberlei
5b10b7098f [2.0] DDC-484 - Fix reference to Doctrine\ORM\ORMException in ProxyException, added two unit-tests for missing tests of ProxyException throws 2010-04-02 15:05:53 +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
guilhermeblanco
9ae7671b26 [2.0] Added more verbosity when attempting to iterate through a fetch join. 2010-03-30 22:29:10 +00: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
62e7146d2d [2.0][DDC-423] Fixed. 2010-03-29 13:50:57 +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
guilhermeblanco
7014188654 [2.0][DDC-476] Fixed description of convert-10-schema. Thanks for the report 2010-03-28 23:25:28 +00:00
guilhermeblanco
45d1e2005b [2.0] More fixes to EntityGenerator. Coding standard fixes and improved error reporting on invalid arguments provided. 2010-03-28 22:56:59 +00:00
guilhermeblanco
3a58e14419 [2.0] Fixed issue with namespaces of entities in EntityGenerator 2010-03-28 22:29:29 +00:00
jwage
21c1952b89 [2.0][DDC-464] Fixes issue with EntityGenerator and the class extends syntax 2010-03-28 17:46:23 +00:00
beberlei
24d8e94280 [2.0] DDC-478 - Fix QueryBuilder Expr\Between Support 2010-03-28 10:30:43 +00:00
romanb
49621286a2 [2.0][DDC-479] Fixed. 2010-03-26 22:07:31 +00:00
beberlei
6b86c97f0a [2.0] DDC-457 - Fix invalid reference to MappingException in Xml and Yml Drivers 2010-03-26 18:29:20 +00:00
jwage
2397925623 [2.0][DDC-462] Adding missing use statement 2010-03-24 15:33:40 +00:00
jwage
0b68e9473d [2.0][DDC-449] Fixing issue with ClassMetadataReader and existing driver sources being added 2010-03-24 15:31:54 +00:00
guilhermeblanco
b2167985ad [2.0][DDC-274] Fixing Coding Standards for CLI tool. 2010-03-24 02:37:45 +00:00