1
0
mirror of synced 2024-12-13 22:56:04 +03:00
Commit Graph

221 Commits

Author SHA1 Message Date
Jonathan H. Wage
071adf68cd Fixing tabs in ClassMetadata class 2010-04-13 14:09:11 -04: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
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
7cc56c45d3 [DDC-193] Fixed. 2010-04-10 00:00:36 +02: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
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
6b86c97f0a [2.0] DDC-457 - Fix invalid reference to MappingException in Xml and Yml Drivers 2010-03-26 18:29:20 +00:00
beberlei
f78ac41cd8 [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:19:12 +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
romanb
cc9b0ff63b [2.0][DDC-433] Fixed typo. 2010-03-18 13:46:25 +00:00
romanb
9bb25925c0 [2.0][DDC-433] Fixed. 2010-03-18 11:53:26 +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
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
0fde94ddcf [2.0] Fixed custom functions support that was failing to be processed. Also fixed syntax error of Function support. 2010-03-16 14:01:54 +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
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
guilhermeblanco
0af8b66599 [2.0][DDC-389] Fixed the PHPDriver that was causing a fatal error when classes uses inheritance type join. Thanks Tiago Ferreira for report and patch. 2010-03-03 17:46:21 +00:00
guilhermeblanco
3eff1d1c5b [2.0] Fixed issue with classmetadata cache that was saving the entire inheritance on the same cacheKey. 2010-03-03 14:39:49 +00:00
guilhermeblanco
dc1f61c0e3 [2.0] Fixed issue with classmetadata cache that was saving the entire inheritance on the same cacheKey. 2010-03-03 14:38:39 +00:00
guilhermeblanco
0cbc9aa672 [2.0][DDC-387] Fixed wrong variable name in MappingException. Thanks Christian for report 2010-03-03 01:38:21 +00:00
guilhermeblanco
4ac39f0cbd [2.0][DDC-379][DDC-384] Implemented Entity namespace alias support. 2010-03-03 01:30:00 +00:00
romanb
9427a85e4e [2.0] Fixed missing argument in AbstractFileDriver. 2010-03-01 22:23:39 +00:00
guilhermeblanco
a56689be67 [2.0] Reverted wrong changeset of commit related to 7246 2010-03-01 04:23:23 +00:00
guilhermeblanco
fc5960c489 [2.0][DDC-265] Partial support to inheritanceType in AnnotationExporter. Still needs to add the discriminator column. 2010-03-01 04:03:44 +00:00
beberlei
eb00a3b817 [2.0] DDC-195 - Refactored Mapping Syntax again to be arrays in all annotations, xml and yaml drivers instead of parsing the fields in the AssociationMapping implementations. 2010-02-26 21:26:06 +00:00
jwage
7c81b0b003 [2.0] Adding support for entity aliases in the query language 2010-02-26 18:11:53 +00:00
jwage
c8ef304bcc [2.0] Adding getDrivers() method to DriverChain 2010-02-26 01:27:10 +00:00
beberlei
b7de1ed115 [2.0] Fixed missing parameter in MappingException::mappingFileNotFound 2010-02-25 21:36:48 +00:00
beberlei
bbda52a448 [2.0] DDC-376 - Fix in XML Mapping Driver 'inheritance-type' attribute. 2010-02-25 21:16:05 +00:00
beberlei
43ecaf54a2 [2.0] DDC-374 - Implement and tested DriverChain Mapping Adapter 2010-02-25 19:58:39 +00:00
jwage
fcd623e8ef [2.0] Adding DriverChain mapping driver type to allow you to configure drivers to use for certain entity namespaces 2010-02-25 19:33:21 +00:00
beberlei
cbd8133308 [2.0] DDC-367 - Fixed Bug with <discriminator-map /> XML Driver Parsing 2010-02-24 19:31:53 +00:00
romanb
4685a9ab6a [2.0][DDC-355] Fixed. Patch provided by Christian Heinrich. 2010-02-23 14:02:31 +00:00
romanb
22fce635c0 [2.0][DDC-339][DDC-340] Fixed. 2010-02-20 18:27:05 +00:00
romanb
639718e95c [2.0][DDC-335][DDC-347][DDC-317] Fixed. Also prepared DQL for CASE/COALESCE/NULLIF support. 2010-02-19 21:28:17 +00:00
beberlei
31b0705ed5 [2.0] DDC-336 DDC-337 - Changed @OrderBy annotation to take a DQL not SQL snippet, restrict it to field names and positional orderings. Changed all test-cases and added a test-case that shows the behaviour for OneToMany JoinedSubclassPersister Managed Entities. 2010-02-15 22:50:35 +00:00
beberlei
30d1b54db1 [2.0] DDC-337 - Collections that are fetched through StandardEntityPersister and ordered are sorted by any given ORDER BY snippet. Now only the DQL Parser is missing in this regard. 2010-02-14 21:21:43 +00:00
beberlei
ab3a6cc16e [2.0] DDC-336 - Support specification of an OrderBy SQL snippet in OneToMany and ManyToMany Associations in Annotation, XML and YAML Drivers 2010-02-14 19:38:22 +00:00
beberlei
49d2dd9bf2 [2.0] DDC-329 - Allow Reverse Engineering with multiple column foreign keys 2010-02-13 22:28:33 +00:00
beberlei
6271245831 [2.0] DDC-318 - Fix successive calls to AnnotationDriver::getAllClassNames() 2010-02-11 22:47:59 +00:00
romanb
ae6e597dca [2.0][DDC-311] Fixed. 2010-02-10 22:17:43 +00:00
romanb
ca23555c3e [2.0][DDC-79][DDC-261] Fixed. Also fixed support for deleting objects by reference (getReference() + remove() + flush()) to effectively delete objects without loading them. 2010-02-10 10:47:42 +00:00
romanb
4adc289596 [2.0][DDC-284] Fixed. API polish and some convention over configuration simplifications for join columns and join tables. 2010-02-09 17:13:49 +00:00
beberlei
ac4c33c371 [2.0] DDC-214, DDC-303, DDC-304 - Fix several errors with Schema Inference from Database and Metadata and Comparisons, aswell as related bugs in DatabaseDriver. DDC-305 - Abstracted TRUNCATE command for all platforms. 2010-02-07 12:36:30 +00:00
beberlei
7cf8d1ae52 [2.0] DDC-268 Added missing duplicateAssociationMapping() method to MappingException 2010-02-02 21:46:39 +00:00
beberlei
703ba989be [2.0] DDC-268 - Exchanged DoctrineException for MappingException and added missing exception method (thanks to Christian Heinrich for the patch) 2010-02-02 21:17:00 +00:00
beberlei
ee9aa005b2 [2.0] DDC-271 - Add columnDefinition for Join-Column in Annotation, XML and YAML driver, updated SchemaTool to use Join Column definition instead of using the column's columnDefinition if specified. Refactored MappingDriverTest to allow for feature specific test-cases instead of one large assertion block. Fixed typos in XmlDriver - Updated doctrine-mapping.xsd Schema File 2010-02-01 21:48:27 +00:00
guilhermeblanco
f6d17b79d8 [2.0][DDC-286][DDC-287] Fixed missing method and casting. Thanks Hannes for reporting and patch. 2010-01-30 21:11:13 +00:00