Benjamin Eberlei
09ac3a9eb2
DDC-659 - Add ClassMetadataBuilder for PHP based metadata management
2011-09-04 14:13:20 +02:00
Benjamin Eberlei
342c3ba941
Initial work on ClassMetdataBuilder
2011-09-04 10:08:33 +02:00
Guilherme Blanco
e7f471ef3e
Fixed issue with CTI during DQL update that was incorrectly setting parameter types during multi table execution. Fixes DDC-1341.
2011-08-28 13:48:15 -03:00
Guilherme Blanco
7433148f17
Fixed bug in XMLDriver where relation indexes are treathed as elements but documented as attributes.
2011-08-16 11:36:41 -03:00
Guilherme Blanco
b9a24b5487
Merge pull request #93 from kwiateusz/UnitTestsUpdate
...
Last change from assertTrue($a instanceof $b) to assertInstanceOf
2011-08-14 21:05:15 -07:00
Benjamin Eberlei
816039f23f
DDC-1302 - Fix bug in XmlDriver not handling orphan removal
2011-07-31 11:32:57 +02:00
kwiateusz
a47af43bc1
Last change from assertTrue($a instanceof $b) to assertInstanceOf
2011-07-27 08:54:06 +02:00
Benjamin Eberlei
57cfcfd20e
Merge pull request #79 from mridgway/DDC-725
...
[DDC-725] Removed onUpdate property on join columns
2011-07-26 14:14:30 -07:00
kwiateusz
49c735109c
Change from assertType to assertInstanceOf.
...
Now PHPUnit doesn't show warning about deprecation of assertType.
Also some refractoring from assertTrue($a instanceof $b) to assertInstanceOf.
Leading \ in namespaces is not required so I removed it from few assertions.
2011-07-26 11:38:09 +02:00
Benjamin Eberlei
a0a81db045
DDC-1204, DDC-1203 - No need to throw this exception for abstract classes anymore
2011-06-30 20:57:29 +02:00
Michael Ridgway
9ae30421dd
Removed onUpdate property on join columns
2011-06-28 15:50:14 -04:00
Benjamin Eberlei
7efe071ac4
DDC-1224 - Bugfix with temporary table ids and tables in schema (in postgresql)
2011-06-26 10:10:57 +02:00
Benjamin Eberlei
10b70df1af
DDC-1218, DDC-1156 - Fixed bugs with mapped superclasses in inheritance hierachies
2011-06-25 10:20:37 +02:00
Benjamin Eberlei
fe8b28a09f
Add test for DDC-1156, DDC-1218
2011-06-25 09:57:15 +02:00
Benjamin Eberlei
fa7574b2ba
Removed AllTests files and Suites
2011-06-18 22:49:25 +02:00
Benjamin Eberlei
0cd0ae49a1
Fix regression introduced with DDC-1203,DDC-1204 patch
2011-06-16 23:00:59 +02:00
Benjamin Eberlei
5ff44b5ec7
DDC-1203, DDC-1204 - Fix problems with mapped superclasses in midth of inheritance hierachy and entities not mapped in discriminator map.
2011-06-15 22:27:24 +02:00
Benjamin Eberlei
22826ac10d
DDC-1156 - Do not throw exception for mapped superclass in middle of inheritance hierachy anymore.
2011-06-05 15:00:49 +02:00
Benjamin Eberlei
6d724ad9ff
Make ORM forward compatible with new Doctrine Annotations library version 2.1
2011-05-25 00:26:20 +02:00
Benjamin Eberlei
9a75277dd4
[DDC-692] Add ClassMetadataInfo::isReadOnly flag and ignore these entities in Change Tracking.
2011-03-29 20:04:14 +02:00
Benjamin Eberlei
ac175d2c40
[DDC-1068] Fix case-sensitivity problems of first loading of Metadata.
2011-03-20 12:35:52 +01:00
Guilherme Blanco
7d1fca1ca2
Added support to NamedQueries through ClassMetadata.
2011-03-09 14:43:42 -03:00
Guilherme Blanco
a31289b9d7
Added support to NamedQueries through ClassMetadata.
2011-03-06 18:45:09 -03:00
Benjamin Eberlei
67ae22b911
DDC-1034 - Fix bug where callbacks where registered multiple times in inheritance hierachies.
2011-03-04 23:00:54 +01:00
Benjamin Eberlei
b2c7a9c7fc
[DDC-1050] Throw exception when trying to define inheritance information on a mapped superclass. It is not a valid use-case.
2011-03-03 22:51:53 +01:00
Guilherme Blanco
dcf358f154
Fixed some warnings from phpunit.
2011-02-19 19:50:58 -02:00
Jonathan H. Wage
839b6dd5e4
Revert "Removing old Driver interface in favor of the new one in Common\Persistence. Also changed to use fully qualified class name for interfaces in common to avoid weird aliases."
...
This reverts commit c988a99d55
.
2011-02-16 10:24:42 -06:00
Jonathan H. Wage
c988a99d55
Removing old Driver interface in favor of the new one in Common\Persistence. Also changed to use fully qualified class name for interfaces in common to avoid weird aliases.
2011-02-16 10:06:39 -06:00
Benjamin Eberlei
fd44894e9a
DDC-996 - Throw more useful exception if fieldName is empty in a mapped field or association.
2011-01-23 14:20:15 +01:00
Benjamin Eberlei
78d4277e4b
Merge branch DDC-117 into master
2011-01-02 12:01:05 +01:00
Benjamin Eberlei
194a90923d
DDC-117 - Finalize patch, fix all the problems of different use-cases by hugely expanding the test-model.
2011-01-01 18:17:19 +01:00
Benjamin Eberlei
7112b551e2
DDC-945 - Fix regression, ManyToMany unidirectional owning side assocations should be allowed.
2010-12-31 14:39:01 +01:00
Benjamin Eberlei
58019fbac0
DDC-961 - Bugfix with missing first letter in automatic join table names in global namespace entities.
2010-12-30 22:30:51 +01:00
Benjamin Eberlei
aa6ac3d6b0
DDC-945 - Throw exception in ClassMetadataFactory when mapped superclass has to many associations.
2010-12-28 11:59:51 +01:00
Benjamin Eberlei
e46c65db09
Fix for DDC-944
2010-12-22 00:23:22 +01:00
Benjamin Eberlei
aa2501eb96
DDC-917 - Bugfix with DriverChain::getAllClassNames() - It was not semantically correct and returning too many metadata.
2010-12-08 23:29:21 +01:00
Benjamin Eberlei
dff5dae416
DDC-897 - Make ClassMetadataFactory configurable.
2010-11-27 20:53:26 +01:00
Benjamin Eberlei
e4f74d8290
DDC-886 - Bugfix for composite identifier flag not being mapped to child classes in inheritence/mapped superclass scenarios.
2010-11-27 17:38:12 +01:00
Benjamin Eberlei
8f80c94923
DDC-514 - Implemented default for discriminator column
2010-09-23 23:10:31 +02:00
Benjamin Eberlei
13047aa12e
Fixed Mappedsuperclass Functional Test to work with new modelset and verify that relevant features work
2010-09-22 00:15:45 +02:00
Benjamin Eberlei
39f732ab91
Refactored DDC-671 model to become a first-class modelset, we dont have one with mapped superclass yet.
2010-09-21 23:53:26 +02:00
Benjamin Eberlei
7dc8ef1db9
Fix DDC-671 - The sourceEntity field has to be corrected to the subclass name when copied from a mapped superclass. Otherwise DQL queries will be wrong, generating wrong table aliases.
2010-09-21 23:14:45 +02:00
Benjamin Eberlei
72f65c3665
Some changes to the TestCase
2010-09-20 19:23:41 +02:00
Benjamin Eberlei
8a92bf075b
DDC-671 - Fetch YamlMappingDriverTest from Shurakais remote branch
2010-09-16 22:27:04 +02:00
Benjamin Eberlei
97e572e2d8
DDC-806 - Fix xsd schema not allowing entities without id (in inheritance hierachies)
2010-09-15 21:51:44 +02:00
Benjamin Eberlei
d115f7af4f
DDC-752 - Postpone Inheritance Related Metadata Validation into CMF
2010-08-27 22:14:48 +02:00
Roman S. Borschel
506973a92e
[DDC-757] Fixed. Also fixed some failing postgres tests due to changes to the default allocation size for sequences.
2010-08-26 13:47:37 +02:00
Sébastien HOUZE
4a9f36800e
Symfony/Components renamed into Symfony/Component
2010-08-23 12:39:30 -05:00
Roman S. Borschel
8d3e0e61ea
Moved association mappings to plain arrays, just like field mappings.
2010-08-09 22:48:07 +02:00
Benjamin Eberlei
69e9fd3145
DDC-704 - Added better validation of inheritence type constructs in Xml, Annotation and Yaml Drivers
2010-08-08 12:29:14 +02:00