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
|
25ecd45fd1
|
Merge remote-tracking branch 'upstream/master' into DDC-869
|
2011-09-07 17:27:59 -03:00 |
|
Fabio B. Silva
|
82f7d6cad2
|
starts work with mapped superclass repository
|
2011-09-07 17:27:05 -03:00 |
|
Guilherme Blanco
|
e3d133af04
|
Added getQuotedTableName() in missing places of Doctrine ORM. Fixes DDC-1365.
|
2011-09-07 01:48:19 -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
|
ecc556f687
|
Fixes DDC-1354.
|
2011-09-01 03:00:53 -03:00 |
|
Lenar Lõhmus
|
d7fbd2cd14
|
short classname support for custom repository class
|
2011-08-19 04:44:24 +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 |
|
Benjamin Eberlei
|
2ee3cdeb0c
|
Merge pull request #106 from FabioBatSilva/master
[DDC-1325] @Target annotation
|
2011-08-14 10:22:13 -07:00 |
|
Guilherme Blanco
|
63a2f02f4d
|
[DDC-408][DDC-1150][DDC-1277] Implemented support to parameter expanding on associations.
|
2011-08-13 21:28:54 -03:00 |
|
Fabio B. Silva
|
a04d2933fa
|
@Target annotation and support to common 2.2-DEV
|
2011-08-13 16:28:05 -03:00 |
|
Rafael Dohms
|
07e1c1e2e1
|
Added method to retrieve currently used Reader. This allows projects that use Doctrine to recycle the reader to use with other annotation-driven packages, like DMS\Filter and Symfony\Validator
|
2011-08-10 15:10:09 -03:00 |
|
Benjamin Eberlei
|
ba882be76b
|
DDC-1313 - Optimize behavior of DriverChain::getAllClassNames()
|
2011-08-01 21:45:21 +02:00 |
|
Benjamin Eberlei
|
816039f23f
|
DDC-1302 - Fix bug in XmlDriver not handling orphan removal
|
2011-07-31 11:32:57 +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 |
|
Benjamin Eberlei
|
cbf210605a
|
[DDC-1290] Allow smallint and bigint for version fields
|
2011-07-26 22:24:16 +02:00 |
|
Fabien Pennequin
|
99bdf65c10
|
Fixed php notice in ClassMetadataFactory
|
2011-07-17 19:39:55 +02:00 |
|
Benjamin Eberlei
|
c87dedbec5
|
DDC-1254 - Dont throw exception about missing id in disconnected metadata factory
|
2011-07-12 23:39:56 +02:00 |
|
Guilherme Blanco
|
b6bd46dbed
|
General fix for end point as file extension on Annotation driver.
|
2011-07-08 16:26:54 -03:00 |
|
Guilherme Blanco
|
438dd9141f
|
Merge branch 'master' of github.com:doctrine/doctrine2
|
2011-07-04 11:38:45 -03:00 |
|
Guilherme Blanco
|
db37d974c8
|
Increasing visibility of AnnotationReader inside AnnotationDriver from private to protected.
|
2011-07-04 11:33:44 -03:00 |
|
Benjamin Eberlei
|
6b54cceed7
|
Moved AnnotationRegistry::registerFile() call to Configuration#newDefaultAnnotationDriver() and documented the migration in UPGRADE_TO_2_1
|
2011-07-03 12:21:04 +02:00 |
|
Benjamin Eberlei
|
43d8466fa9
|
Update annotation handling in AnnotationDriver to work with AnnotationRegistry and bump common dependency
|
2011-07-02 19:48:43 +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 |
|
Benjamin Eberlei
|
5362206297
|
Revert "Fixed ClassMetadataFactory which was throwing an exception if parent class on inheritance hierarchy is an abstract class and also extends from a mapped superclass (so it contains an inheritance already), but is not in the discriminatorMap."
This reverts commit 4603e94fe9 .
Making an exception go away is not a fix for something. :)
|
2011-06-30 20:12:22 +02:00 |
|
Guilherme Blanco
|
4603e94fe9
|
Fixed ClassMetadataFactory which was throwing an exception if parent class on inheritance hierarchy is an abstract class and also extends from a mapped superclass (so it contains an inheritance already), but is not in the discriminatorMap.
|
2011-06-30 15:04:57 -03:00 |
|
Johannes Schmitt
|
5701036068
|
added @Annotation to annotations
|
2011-06-30 11:03:32 +02:00 |
|
Michael Ridgway
|
9ae30421dd
|
Removed onUpdate property on join columns
|
2011-06-28 15:50:14 -04:00 |
|
Benjamin Eberlei
|
69944017d2
|
Merge branch 'master' of github.com:doctrine/doctrine2
|
2011-06-26 10:11:29 +02: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 |
|
Ruben de Vries
|
a607e2ec7a
|
fixed wrong keyname
|
2011-06-25 17:08:56 +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
|
a5cddb0c11
|
Merge branch 'master' of github.com:doctrine/doctrine2
|
2011-06-20 21:26:33 +02:00 |
|
Benjamin Eberlei
|
3717ae3c53
|
strtolower() on cascade information avoids problem with case-sensitivity in YAML and annotations mapping driver.
|
2011-06-20 21:26:12 +02:00 |
|
Johannes Heinen
|
c05fffcc93
|
Suppressed php undefined variable notice adding initialization code to Doctrine\ORM\Mapping\Driver\DatabaseDriver.php
|
2011-06-20 19:07:03 +02:00 |
|
Guilherme Blanco
|
1fed340793
|
Optimized AnnotationDriver to filter found files during getAllClassnames().
|
2011-06-16 19:54:50 -03: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 |
|
Fabien Potencier
|
b37c8f6a23
|
Update Symfony2 vendors
|
2011-06-14 17:01:33 +02:00 |
|
Benjamin Eberlei
|
fe527fbf1a
|
Merge pull request #59 from asm89/databasedriver-patch
Implemented tableName -> className and columnName -> fieldName mapping in DatabaseDriver.
|
2011-06-11 03:15:16 -07: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
|
d17d0f5452
|
DDC-1192 - Fix notice in XmlDriver, removed unnecessary code.
|
2011-06-05 14:49:54 +02:00 |
|
Alexander
|
7ee8dc4e44
|
DDC-1179 - Make it possible to specify a namespace when mapping with --from-database
|
2011-06-02 21:45:03 +02:00 |
|
Guilherme Blanco
|
93521217a6
|
Moved getQuoted* from ClassMetadata to ClassMetadataInfo, since SchemaTool relies on them, making impossible to work with DisconnectedClassMetadataFactory.
|
2011-05-26 02:18:29 -03:00 |
|
Johannes Schmitt
|
a0d79b03e7
|
[AnnotationDriver] compatibility with Doctrine Common 3.x
|
2011-05-25 00:32:55 +02:00 |
|
Alexander
|
cec62db2d8
|
Removed _ prefix from private functions.
|
2011-05-20 16:53:35 +02:00 |
|
Alexander
|
262ae7c942
|
Implemented tableName -> className and columnName -> fieldName mapping in
DatabaseDriver.
|
2011-05-20 16:36:43 +02:00 |
|
Benjamin Eberlei
|
f4021e7469
|
Update Doctrine Common to latest version and add new methods to ClassMetadataInfo
|
2011-05-16 20:42:38 +02:00 |
|
Benjamin Eberlei
|
5e938b3147
|
Revert "Implemented auto-inference of isCascadeRemove when orphanRemoval is defined (marked as todo)."
This reverts commit 551247d11a .
|
2011-05-15 20:39:55 +02:00 |
|
Guilherme Blanco
|
551247d11a
|
Implemented auto-inference of isCascadeRemove when orphanRemoval is defined (marked as todo).
|
2011-05-14 00:43:33 -03:00 |
|
Benjamin Eberlei
|
261d3c892e
|
DDC-1133 - Ducktype AnnotationReader in AnnotationDriver
|
2011-04-30 14:23:46 +02:00 |
|
Benjamin Eberlei
|
7dd0dd273e
|
[DDC-1109] ltrim discriminator map for convenience.
|
2011-04-30 12:49:37 +02:00 |
|
Benjamin Eberlei
|
42230a4c51
|
[DDC-1132] Fix many to many table detection.
|
2011-04-30 11:16:30 +02:00 |
|
Benjamin Eberlei
|
34ad308599
|
[DDC-692] Add respective metadata mapping possiblities for read-only entities and a test.
|
2011-03-29 20:17:44 +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
|
180078d0f6
|
Added namedQueries as optional during serialization of ClassMetadata.
|
2011-03-14 01:04:50 -03: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
|
d58ae2ecda
|
DDC-1056 - Fixed notice in StaticPHPDriver.
|
2011-03-04 22:22:07 +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
|
68bb0c1ae1
|
[DDC-1035] Fixed orphanRemoval on YAML mapping driver.
|
2011-02-21 00:37:32 -03: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 |
|
Jonathan H. Wage
|
a4a184b27c
|
Implementing ClassMetadataFactory interface.
|
2011-02-15 21:00:48 -06:00 |
|
Jonathan H. Wage
|
68a4099684
|
Implementing initial Doctrine\Common\Persistence interfaces.
|
2011-02-15 20:02:45 -06:00 |
|
Benjamin Eberlei
|
9768d08458
|
[DDC-250] Add tests and fix some glitches and finalized index-by patch.
|
2011-02-05 11:42:10 +01:00 |
|
Benjamin Eberlei
|
17c1ed948e
|
[DDC-250] Initial untested support for @ManyToMany(indexBy) and @OneToMany(indexBy) option.
|
2011-02-05 09:31:40 +01: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
|
247fc43cef
|
DDC-546 - Rename ClassMetadataInfo::FETCH_EXTRALAZY to ClassMetadataInfo::FETCH_EXTRA_LAZY
|
2011-01-02 15:10:47 +01:00 |
|
Benjamin Eberlei
|
c998797c55
|
DDC-546 - Add Extra Lazy Collection prototype.
|
2011-01-02 12:44:16 +01:00 |
|
Benjamin Eberlei
|
78d4277e4b
|
Merge branch DDC-117 into master
|
2011-01-02 12:01:05 +01:00 |
|
Benjamin Eberlei
|
9177dc3d52
|
DDC-965 - Defer ID check after loadMetata event is fired.
|
2011-01-02 10:24:23 +01:00 |
|
Benjamin Eberlei
|
2a005019bf
|
DDC-117 - Add XML and YML Driver support for associated identifier.
|
2011-01-01 21:47:04 +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
|
8658376713
|
DDC-929 - Fix bug with DatabaseDriver not detecting indexes that are not called primary.
|
2010-12-30 23:18:00 +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
|
2d27a99a0b
|
DDC-117 - Began to fix some issues surrounding the DDC-881 report and references to composite fk entities.
|
2010-12-29 01:02:21 +01:00 |
|
Benjamin Eberlei
|
e7b4dca611
|
Merge master into DDC-117
|
2010-12-28 17:27:47 +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
|
386b7e26d6
|
DDC-888 - Fix Warning in AnnotationsDriver when using @JoinTable without explicitly defining join- and inverse join-columns.
|
2010-11-27 20:05:36 +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
|
97b80d69f1
|
Fix several test-issues after upgrading dependencies and a Bug in a SchemaTool and DatabaseDriver
|
2010-11-18 23:07:32 +01:00 |
|
Benjamin Eberlei
|
c1661dd53e
|
DDC-511 - MappedSuperclasses specifications of inheritance mapping details make no sense and are ignored
|
2010-11-16 21:53:46 +01:00 |
|
Benjamin Eberlei
|
ae9080aa98
|
DDC-873 - throw exception if trying to add @version to @id
|
2010-11-11 21:21:17 +01:00 |
|
Benjamin Eberlei
|
4ea3277c28
|
DDC-856 - Add default "string" type to discriminator column, throw exception on specification of a bunch of invalid types
|
2010-11-11 21:13:03 +01:00 |
|
Benjamin Eberlei
|
6a904a2d67
|
DDC-860 - Allow access to EntityManager in loadClassMetadata event
|
2010-11-05 22:13:19 +01:00 |
|
Benjamin Eberlei
|
aa2a80f3ff
|
DDC-787 - Fix table name casing in DatabaseDriver
|
2010-10-30 12:35:22 +02:00 |
|
Benjamin Eberlei
|
b4aabf0ba6
|
DDC-831 - Fix docblock in ClassMetadataInfo
|
2010-10-10 17:13:23 +02:00 |
|
Benjamin Eberlei
|
8f80c94923
|
DDC-514 - Implemented default for discriminator column
|
2010-09-23 23:10:31 +02:00 |
|
Benjamin Eberlei
|
6390653df7
|
Merge branch 'DDC-671'
|
2010-09-22 00:19:37 +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 |
|