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

1515 Commits

Author SHA1 Message Date
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
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
b67e1f8622 Fixed testsuite after CLI refactorings, Removed Symfony YAML Autoloader Hack 2010-04-09 15:40:42 +02:00
Benjamin Eberlei
5381e3d5a4 Fix Testsuite to work with Git 2010-04-07 20:47:53 +02:00
Benjamin Eberlei
324b3ee426 Fix Testsuite to work with Git 2010-04-07 20:47:36 +02:00
beberlei
304cc2e0cc [2.0] DDC-341 - Added Composite Model-Set and 3 tests, fixed two bugs in SqlWalker with Composite Key support 2010-04-03 14:38:06 +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
b0963d91c7 [2.0][DDC-274] Moved Sql to SQL loggers. Also implemented some todos. 2010-03-31 20:47:35 +00:00
romanb
c4a9ce1cd3 [2.0][DDC-483] Fixed. 2010-03-31 17:19:32 +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
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
jwage
c6f0699dbf [2.0] Removing deprecated GlobalClassLoader and IsolatedClassLoader and updating tests 2010-03-24 16:22:49 +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
guilhermeblanco
b175427043 [2.0][DDC-458] Fixed issue with IN () support when providing numeric values separated by comma without spaces. 2010-03-23 17:42:34 +00:00
beberlei
5018985807 [2.0] DDC-239 - Added several new mapping validations for duplicate association/field and or column name definitions, and in combination with the discriminator column name. 2010-03-20 19:23:13 +00:00
beberlei
9d2c275618 [2.0] DDC-407 - Add regression-test to fix that Scalar-Results are 1-based, Add ScalarResult with Scalar Field Hydration Test 2010-03-20 17:40:30 +00:00
beberlei
46e7724988 [2.0] Added missing test-case to Doctrine\Tests\ORM\Functional\AllTests 2010-03-20 17:37:18 +00:00
beberlei
1e7ca2bd7a [2.0] DDC-390 Fix SequenceGeneratorTest which wasnt testing anything before :-) Now showing that Sequence Generator works with allocation sizes larger than 1 2010-03-20 17:04:46 +00:00
romanb
2209c5ef30 [2.0][DDC-444] Fixed. 2010-03-20 09:40:50 +00:00
jwage
f34a99ccce [2.0] Fixing hardcoded dependency to EntityGenerator 2010-03-20 03:48:58 +00:00
jwage
42c5562874 [2.0] Improving EntityGenerated: added normal doc blocks above annotations(even if annotations aren't generated), adding type hinting, added generation of default values for properties 2010-03-19 22:38:45 +00:00
guilhermeblanco
b73e3c064c [2.0] Commented the CLIController tests that was messing with the UnitTests 2010-03-19 18:12:53 +00:00
jwage
089b5dd88a [2.0] Refactoring code for reading multiple sources of mapping information from ClassMetadataExporter to a new ClassMetadataReader tool so it can be used to read mapping information easily from multiple different sources. This is used for generating repositories, converting mapping information, generating entity stubs, etc. Generally though, it is useful to be able to read the information for some mapping files into an array of ClassMetadataInfo instances without it being bound to the ORM and the metadata referenced by the EntityManager ClassMetadataFactory 2010-03-19 04:19:15 +00:00
beberlei
1ddebef8a4 [2.0] DDC-318 - Fixed idempotency issues with AnnotationDriver::getAllClassNames() even across multiple instances using the same metadata paths. 2010-03-18 23:04:21 +00:00
beberlei
b25d5d277d [2.0] DDC-283 - Add two events in SchemaTool that allow to hook into the generated Schema representation, possibly modifying or reacting to it in userland or extensions code. 2010-03-18 22:36:27 +00:00
jwage
c6678a0f4a [2.0] Renaming orm:generate-entity-stubs to orm:generate-entities to be consistent and fixed a few bugs 2010-03-18 22:35:16 +00:00
jwage
c41a08a6be [2.0][DDC-359] Adding some tests for CliController and fixing bug with empty option value .i.e "--option=" 2010-03-18 21:48:04 +00:00
jwage
49c73d5682 [2.0] Refactoring AnnotationExporter code to a EntityGenerator tool which is used now in orm:convert-mapping to generate annotated entities and also used in orm:generate-entity-stubs for generating entity classes and properties/method stubs from mapping information 2010-03-18 21:38:42 +00:00
romanb
53eb51b687 [2.0][DDC-422] Fixed. 2010-03-18 13:43:38 +00:00
romanb
76663a0501 [2.0][DDC-416] Fixed. 2010-03-18 11:40:43 +00:00
beberlei
91ac6fae3e [2.0] Fix File sensitivity issue fataling test-suite on Unix 2010-03-18 09:14:19 +00:00
jwage
770d00abe9 [2.0] Improving test coverage for mapping exporters as well as adding missing functionality 2010-03-17 21:25:19 +00:00
jwage
1d60c65daf [2.0] Adding test to ensure onDelete and onUpdate are read properly from all mapping drivers 2010-03-17 14:20:18 +00:00
jwage
e06f7c981d [2.0] Updating Symfony Yaml component to PHP 5.3 version 2010-03-16 23:03:29 +00:00
jwage
a25c704246 [2.0] Fixing PhpDriver and covering it with tests 2010-03-16 22:41:09 +00:00
guilhermeblanco
71b1f709c8 [2.0] Removed wrong unit test. Fixed phpDoc of QueryBuilder that was pointing to an unknown object. 2010-03-16 20:31:36 +00:00
guilhermeblanco
bb94f6ea7c [2.0] Fixed support to ResultVariable usage in ArithmeticExpression. 2010-03-16 15:02:43 +00:00
beberlei
ec4bd256d5 [2.0] DDC-412 - Fixed YAML Driver not allowing multiple lifecycle callbacks per event. Backwards-incompatible change 2010-03-15 19:29:07 +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
0a9101d79e [2.0] Fixed failing tests due to r7323 2010-03-14 21:20:13 +00:00
beberlei
2ebd2c901e [2.0] DDC-396 - Fixed bug with RESTRICT/NO ACTION and PHP NULL not valued as the same in Schema Foreign Key Diff 2010-03-11 20:23:49 +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