Vitali Yakavenka
|
353ba4dfd1
|
Remove trailing whitespaces and fix brace locations
|
2011-11-30 00:20:00 +03:00 |
|
Vitali Yakavenka
|
c92b78bc06
|
Cleanup formatting just a little
|
2011-11-29 00:48:08 +03:00 |
|
Vitali Yakavenka
|
b72d150d33
|
Rename custom-generator to custom-id-generator in XML mappint to match name in other mapping types
|
2011-11-28 23:36:23 +03:00 |
|
Vitali Yakavenka
|
a8787be0bf
|
Add missing files from last comming and newly required one after rebase
|
2011-11-28 23:31:06 +03:00 |
|
Vitali Yakavenka
|
84086915e4
|
Add support for custom ID generator in Yaml driver
|
2011-11-28 23:30:32 +03:00 |
|
Vitali Yakavenka
|
2b97f79bd3
|
Add support for custom ID generator in XML
|
2011-11-28 23:30:32 +03:00 |
|
Vitali Yakavenka
|
48b6356e53
|
Add support for GenerateValue(strategy='CUSTOM') in AnnotationDriver
|
2011-11-28 23:29:42 +03:00 |
|
Vitali
|
82daf651fb
|
Pass specified arguments to generator's constructor
|
2011-11-28 23:24:19 +03:00 |
|
Vitali
|
cd0915deb5
|
Introcude ClassMetadataInfo::GENERATOR_TYPE_CUSTOM for custom generators to follow current implementation
|
2011-11-28 23:24:18 +03:00 |
|
Vitali
|
ffc722a334
|
Allow loading of custom ID generator class by FQN in @GeneratedValue(type=)
|
2011-11-28 23:24:18 +03:00 |
|
Benjamin Eberlei
|
62ec98a9fc
|
Merge pull request #205 from Seldaek/psr0
PSR-0 compliance
|
2011-11-28 05:05:50 -08:00 |
|
Benjamin Eberlei
|
0c12d3ed5a
|
DDC-1512 - Make ClassMetadataFactory::isTransient() entity namespace aware.
|
2011-11-28 11:16:23 +01:00 |
|
Jordi Boggiano
|
b8ac2fb416
|
Add requires to new files for BC
|
2011-11-27 18:16:18 +01:00 |
|
Jordi Boggiano
|
10e74040af
|
PSR-0 compliance
|
2011-11-27 12:59:17 +01:00 |
|
Benjamin Eberlei
|
be4eb63c62
|
Merge branch 'DBAL-15'
|
2011-11-21 21:38:05 +01:00 |
|
Jan Sorgalla
|
4042bc53ce
|
Fix argument on wrong method call
|
2011-11-20 19:57:04 +01:00 |
|
Jan Sorgalla
|
841d12e9b6
|
Move check for conversion SQL to ClassMetadataInfo
|
2011-11-20 19:50:51 +01:00 |
|
Benjamin Eberlei
|
bda593a66d
|
DDC-1448 - Add support for ObjectManagerAware interface and PersistentObject in ORM
|
2011-11-19 13:06:24 +01:00 |
|
Benjamin Eberlei
|
f9a4dcb2d0
|
Remove code that could allow users of xml and yaml to define orphan removal on the wrong association sides.
|
2011-11-18 18:33:03 +01:00 |
|
Benjamin Eberlei
|
a0ee72f264
|
Fix bug introduced in recent XmlDriver commit
|
2011-11-15 20:03:56 +01:00 |
|
Benjamin Eberlei
|
4c7e4296c9
|
Merge pull request #189 from FabioBatSilva/DDC-1404
DDC-1404
|
2011-11-14 10:32:31 -08:00 |
|
Fabio B. Silva
|
8af0f9d071
|
added support for Inherited Named Queries
|
2011-11-14 16:07:37 -02:00 |
|
Fabio B. Silva
|
0632b37492
|
fix default field type
|
2011-11-14 13:17:56 -02:00 |
|
Benjamin Eberlei
|
6520211df3
|
Merge everzet/PreFlush-event
|
2011-11-13 16:51:23 +01:00 |
|
Benjamin Eberlei
|
3914e4a5d0
|
Merge pull request #184 from asm89/InvalidFetchMode-exception
Throw exception on invalid fetch mode in annotations
|
2011-11-08 01:28:32 -08:00 |
|
Alexander
|
e99b800406
|
Throw exception on invalid fetch mode in annotations
|
2011-11-08 10:01:22 +01:00 |
|
Guilherme Blanco
|
c6a3ff4da5
|
Optimizations in UnitOfWork.
|
2011-11-05 03:09:14 -02:00 |
|
Benjamin Eberlei
|
231d84b625
|
Fix xml fix again
|
2011-10-31 22:15:08 +01:00 |
|
Guilherme Blanco
|
0ec2cc557f
|
Implemented support to entities with association marked as @Id support in many situations. Fixed DDC-1435.
|
2011-10-29 02:00:35 -02:00 |
|
Jaik Dean
|
cdb452b27b
|
Fixed typos of 'discriminator'
|
2011-10-24 10:01:27 +01:00 |
|
everzet
|
66e2a9260e
|
added PreFlush lifetime event and lifecycle callback
|
2011-10-23 18:39:16 +03:00 |
|
Benjamin Eberlei
|
3aea203b9c
|
Throw exception if target entity is not found.
|
2011-10-22 11:28:07 +02:00 |
|
Benjamin Eberlei
|
dba8360166
|
Merge master into ImproveErrorMessages
|
2011-10-22 11:06:51 +02:00 |
|
Sergey Linnik
|
c3ec6e383c
|
Fix isTransient call on uninitialized ClassMetadataFactory
|
2011-10-18 01:14:07 +04:00 |
|
lenar
|
cab154b873
|
identifier referencing foreign entity can be defined in parent class too
|
2011-10-15 19:59:50 +02:00 |
|
Benjamin Eberlei
|
cb28bfd484
|
Improve Error Messages in ClassMetadata and UnitOfWork
|
2011-10-15 17:38:55 +02: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 |
|
Benjamin Eberlei
|
c02920762b
|
Adjust ClassMetadataFactory to forthcoming interface change
|
2011-09-25 14:41:56 +02:00 |
|
Guilherme Blanco
|
918e2d2018
|
Fixed remaining Doctrine packages upgrade.
|
2011-09-13 01:14:36 -03: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
|
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 |
|
steffkes
|
9fa8ff86f8
|
show given path for MappingException::fileMappingDriversRequireConfiguredDirectoryPath
|
2010-09-17 11:54:31 -05:00 |
|
beberlei
|
33d0bb454b
|
DDC-752 - Moved verify inheritance block behind the loadMetadata event
|
2010-08-28 16:41:18 +02:00 |
|
Benjamin Eberlei
|
5bd8ffa53c
|
Merge master into DDC-117
|
2010-08-27 22:27:00 +02:00 |
|
Benjamin Eberlei
|
43f8398fbb
|
DDC-770 - Commit missing changes to XmlDriver and YamlDriver
|
2010-08-27 22:21:18 +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 |
|
Benjamin Eberlei
|
1496250833
|
Merge branch 'master' into DDC-117
|
2010-08-15 20:17:56 +02:00 |
|
Benjamin Eberlei
|
e45c52b024
|
Merge Removal of association classes into DDC-117 branch, quite some merge efforts necessary to get it working again
|
2010-08-13 23:23:11 +02:00 |
|
Guilherme Blanco
|
5719f8523b
|
[DDC-577] Updated allocationSize to 1 based on discussion on DDC-569.
|
2010-08-12 01:07:48 -03:00 |
|
Benjamin Eberlei
|
98785122d3
|
DDC-562 - Finally able to generate Unique Constraint on @OneToOne foreign keys
|
2010-08-10 22:07:43 +02:00 |
|
Roman S. Borschel
|
ca1931de81
|
More association mapping doc-block updates.
|
2010-08-09 23:23:30 +02:00 |
|
Roman S. Borschel
|
575858774d
|
Updated API doc for association mappings.
|
2010-08-09 23:13:34 +02:00 |
|
Roman S. Borschel
|
4826739824
|
Simplified ClassMetadata lookup in UnitOfWork and added docblock.
|
2010-08-09 22:48:07 +02: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
|
ea954e8123
|
DDC-703 - Fixed change tracking not passed to child classes in inheritance hierachy
|
2010-08-08 16:15:35 +02:00 |
|
Benjamin Eberlei
|
7b07a17886
|
Merge branch 'master' into DDC-117
|
2010-08-08 14:07:24 +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 |
|
Benjamin Eberlei
|
bd28cb1b12
|
DDC-645 - Demoted <change-tracking-policy /> to an attribute on <entity /> to allow better validation, fixed XSD schema
|
2010-08-08 11:32:12 +02:00 |
|
Benjamin Eberlei
|
013262a9b7
|
Add support for EntityManager::remove() of full or partial association primary keys
|
2010-08-07 21:09:19 +02:00 |
|
Benjamin Eberlei
|
c697a2d47f
|
Prototype hack of @ManyToOne + @Id support with two test-scenarios, composite association key only composite key, and a mixed key scenario. I think single foreign association would work also
|
2010-08-07 19:33:54 +02:00 |
|
Roman S. Borschel
|
0c07b31136
|
Tweaked INSTANCE OF implementation.
|
2010-07-30 17:56:11 +02:00 |
|
Guilherme Blanco
|
c1fec32f58
|
[2.0][DDC-482] Added support to INSTANCE OF in DQL.
|
2010-07-30 01:30:02 -03:00 |
|
Benjamin Eberlei
|
0be6b3fd85
|
Clarified Exception Message
|
2010-07-22 22:33:37 +02:00 |
|
Benjamin Eberlei
|
6007084324
|
DDC-706 - Fix DriverChain::isTransient() to comply with interface of Driver
|
2010-07-21 21:20:55 +02:00 |
|
Roman S. Borschel
|
913e58e385
|
[DDC-167] Implemented.
|
2010-07-20 14:27:14 +02:00 |
|
Benjamin Eberlei
|
b0e4d06c40
|
DDC-130 - Refactored deleteJoinTableRecords() even more, simplified approach disfavouring evil legacy database schemas
|
2010-07-10 13:12:33 +02:00 |
|
Benjamin Eberlei
|
1794127d51
|
DDC-130 - Refactored deleteJoinTableRecords() support
|
2010-07-10 12:04:02 +02:00 |
|
Roman S. Borschel
|
88b0813536
|
Improved entity state detection.
|
2010-07-06 11:43:14 +02:00 |
|
Christian Heinrich
|
321fc2506d
|
Fixed #DDC-647
Added missing length element
DBAL-647 - Added test to check for length of string type in all mapping drivers
|
2010-06-28 23:05:49 +02:00 |
|
Christian Heinrich
|
fc7224f73e
|
Merge branch 'master' of http://github.com/doctrine/doctrine2
|
2010-06-22 13:53:14 +02:00 |
|
Benjamin Eberlei
|
1d5d092453
|
DDC-616 - Fixed issue appearing when running the whole test-suite against the changes in the DatabasaeDriver
|
2010-06-20 23:39:21 +02:00 |
|
Benjamin Eberlei
|
cd978fb8c9
|
DDC-616 Made Database Reverse Engineering a Two-Step Approach, first collect details on all tables once and try to detect which tables are many-to-many tables. Then build metadata from this information. This allows to support even many-to-many tables in reverse engineering correctly
|
2010-06-20 19:34:09 +02:00 |
|
Benjamin Eberlei
|
4705c1cb03
|
Merge branch 'DDC-631'
|
2010-06-13 23:17:09 +02:00 |
|
Benjamin Eberlei
|
190d115dce
|
DDC-616 - Fix a regression with many-to-many tables introduced with the DDC-627 commit
|
2010-06-13 23:02:18 +02:00 |
|
Benjamin Eberlei
|
7018509126
|
Fix a bug with Table Indexes on XML Driver. Added tests for setting indexes on tables for all the mapping drivers
|
2010-06-13 22:59:56 +02:00 |
|
Benjamin Eberlei
|
c69b2d2b54
|
Merge branch 'DDC-627'
|
2010-06-13 20:10:10 +02:00 |
|
Benjamin Eberlei
|
434325ed4f
|
Fixed DDC-557 - Default allocation size for sequences changed from 10 to 1. Documented in UPGRADE file
|
2010-06-13 20:09:59 +02:00 |
|
Benjamin Eberlei
|
b7db8df7ef
|
Fixed DDC-627 and DDC-616
|
2010-06-13 19:36:49 +02:00 |
|
Roman S. Borschel
|
5d00fb764b
|
[DDC-622] Fixed.
|
2010-06-07 13:10:15 +02:00 |
|
Jonathan H. Wage
|
35f66ab4ed
|
Merge remote branch 'upstream/master'
|
2010-05-20 09:02:31 -04:00 |
|
Jonathan H. Wage
|
2d7f7691e9
|
[DDC-603] Fixing issue with reverse engineering a database where table names are all caps
|
2010-05-20 09:01:34 -04:00 |
|
Christian Heinrich
|
64309398e2
|
Merge commit 'upstream/master'
|
2010-05-20 14:41:56 +02:00 |
|
Christian Heinrich
|
3fc9971e98
|
Merge commit 'upstream/master'
Conflicts:
lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php
|
2010-05-20 14:17:39 +02:00 |
|
David Abdemoulaie
|
5bbe6c7292
|
Revert "Adding missing OnFlush annotation."
This reverts commit 79d3f655ef .
|
2010-05-18 17:20:40 -05:00 |
|
Jonathan H. Wage
|
79d3f655ef
|
Adding missing OnFlush annotation.
|
2010-05-18 13:19:15 -04:00 |
|
Jonathan H. Wage
|
5a92c0b51e
|
Fixing issue with reverse engineering databases.
|
2010-05-14 12:38:42 -04:00 |
|
Jonathan H. Wage
|
7ac08931bc
|
Fixing DatabaseDriver to specify nullable => true instead of notnull => false
|
2010-05-14 12:31:25 -04:00 |
|
Roman S. Borschel
|
f9b53c6b5c
|
Fixed #DDC-580
Conflicts:
lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php
|
2010-05-11 00:03:09 +02:00 |
|
Christian Heinrich
|
b63afb6ce4
|
Fixed #DDC-580
|
2010-05-10 16:41:42 +02:00 |
|
Roman S. Borschel
|
59d4e0c8e7
|
[DDC-481] Fixed.
|
2010-05-08 17:01:20 +02:00 |
|
Roman S. Borschel
|
561236bd56
|
[DDC-576] Fixed.
|
2010-05-08 14:08:18 +02:00 |
|
Jonathan H. Wage
|
3001d26ad4
|
Fixing typo/mistake. Test coming soon.
|
2010-05-05 15:14:48 -04:00 |
|
Benjamin Eberlei
|
6c7aaa727c
|
Added tests for 41e830ca68 , thereby finding two issues with XML and YAML Driver handling of Sequence-Generator
|
2010-05-01 03:28:18 +02:00 |
|
Benjamin Eberlei
|
9cee8bf890
|
Merge remote branch 'dc2master/master'
|
2010-05-01 03:12:27 +02:00 |
|
Jonathan H. Wage
|
94928c5dd8
|
[DDC-552] Fixing issue with getReflectionClass() not existing on ClassMetadataInfo when it is required by AnnotationDriver
|
2010-04-30 12:27:52 -04:00 |
|
Roman S. Borschel
|
39a6c01978
|
Merge commit 'upstream/master'
|
2010-04-30 17:31:53 +02:00 |
|
Roman S. Borschel
|
db2be55e27
|
[DDC-561] Fixed.
|
2010-04-30 17:30:27 +02:00 |
|
Jonathan H. Wage
|
41e830ca68
|
Fixing sequence-generate in XmlDriver
|
2010-04-29 08:13:02 -04:00 |
|
Benjamin Eberlei
|
f38584a51e
|
DDC-545 - Add unittest for all drivers uniqueConstraint capabilities, fix bug in XML Driver that disallowed using them
|
2010-04-28 20:27:53 +02:00 |
|
Jonathan H. Wage
|
6bda2b44fe
|
Renaming PhpDriver to PHPDriver
|
2010-04-26 14:12:36 +02:00 |
|
Roman S. Borschel
|
d1d1cecc06
|
Restored missing files.
|
2010-04-26 14:12:20 +02:00 |
|
Roman S. Borschel
|
bff4f49b7a
|
Merge commit 'upstream/master'
Conflicts:
lib/Doctrine/Common/Annotations/AnnotationReader.php
lib/Doctrine/Common/Annotations/Parser.php
|
2010-04-26 13:17:36 +02:00 |
|
Roman S. Borschel
|
760ea34a0c
|
[DDC-497][DDC-500][DDC-342] Fixed. Persister polishing and refactoring. More to come for that, but after beta1.
|
2010-04-26 13:02:30 +02:00 |
|
Jonathan H. Wage
|
27a0058b89
|
Initial entry of StaticPHPDriver
|
2010-04-23 16:16:16 -04:00 |
|
Jonathan H. Wage
|
6d29f05d3a
|
Renaming PhpDriver to PHPDriver
|
2010-04-23 14:37:29 -04:00 |
|
Roman S. Borschel
|
4b71afe7c2
|
Improving metadata caching performance by only serializing what is absolutely necessary.
|
2010-04-18 22:47:03 +02:00 |
|
Roman S. Borschel
|
f3c672a2e5
|
Merged from upstream/master.
|
2010-04-14 17:21:15 +02:00 |
|
Roman S. Borschel
|
d4232d906e
|
[DDC-388] Fixed.
|
2010-04-14 17:07:08 +02:00 |
|
Roman S. Borschel
|
7fefe3f4b4
|
Merge commit 'upstream/master'
|
2010-04-14 10:50:37 +02:00 |
|
Roman S. Borschel
|
4106002344
|
Small refactorings.
|
2010-04-14 10:46:35 +02:00 |
|
Jonathan H. Wage
|
44e656dc0a
|
Adding description to _getParentClasses()
|
2010-04-13 18:24:48 -04:00 |
|
Jonathan H. Wage
|
5cfe9e1d94
|
Introducing DisconnectedClassMetadataFactory that will replace the need for ClassMetadataReader
|
2010-04-13 18:20:41 -04:00 |
|
Jonathan H. Wage
|
5442a32db8
|
Fixing incorrect exception method used
|
2010-04-13 14:09:39 -04:00 |
|
Jonathan H. Wage
|
071adf68cd
|
Fixing tabs in ClassMetadata class
|
2010-04-13 14:09:11 -04:00 |
|
Roman S. Borschel
|
6d08164162
|
Merge commit 'upstream/master'
|
2010-04-13 00:50:12 +02:00 |
|
Roman S. Borschel
|
db603547a2
|
Added failing test for DDC-388. Naming refactorings and comment cleanups.
|
2010-04-13 00:49:19 +02: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 |
|