Alexander
e99b800406
Throw exception on invalid fetch mode in annotations
2011-11-08 10:01:22 +01:00
Jaik Dean
cdb452b27b
Fixed typos of 'discriminator'
2011-10-24 10:01:27 +01:00
Fabien Potencier
6a72ba5f97
DDC-1418 - Add simplified XML and YAML drivers ported from the Symfony project, thanks Fabien
2011-10-13 23:39:11 +02:00
Guilherme Blanco
3bb803fd69
Cherry picked FabioBatSilva upgrade of Common lib.
2011-09-13 00:59:24 -03:00
Fabio B. Silva
19d0887bb0
check if parent class is a mapped superclass
2011-09-08 13:41:16 -03:00
Fabio B. Silva
7f0275155d
php mapping
2011-09-08 13:17:53 -03:00
Fabio B. Silva
6a89de51e5
change tests
2011-09-08 12:55:55 -03:00
Fabio B. Silva
54a53b1d03
tests for DDC-869
2011-09-08 11:56:05 -03:00
Fabio B. Silva
b2d98495b1
mapping files
2011-09-07 18:29:43 -03:00
Fabio B. Silva
82f7d6cad2
starts work with mapped superclass repository
2011-09-07 17:27:05 -03:00
Guilherme Blanco
2cfc61db84
Fixed bug with orphanRemoval not removing associated Entity on OneToMany and OneToOne relationships. As defined in ClassMatedataInfo, in these situations, when orphanRemoval=true, cascade=remove is implicit. This fixes DDC-1321.
2011-09-06 01:58:16 -03:00
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