Luís Cobucci
f18e178960
Fix wrong YAML mapping
...
We had duplicated keys and that's no longer valid on symfony/yaml 3.3.
2017-05-30 12:51:51 +02:00
Alexander Guz
7bf206adb4
#6129 Moved test to AbstractMappingDriverTest.
2016-11-16 20:01:11 +01:00
Bill Schaller
d97fad26a5
Add tests to ensure DiscriminatorColumn is optional, and that optional params type and length have proper defaults.
2016-01-05 12:29:49 -05:00
Guilherme Blanco
49bb687aaf
Merge pull request #1540 from pantelm/master
...
[DDC-3711] Correct Error on manyToMany with composite primary key + add Tests
2015-11-08 22:43:36 -05:00
z38
ff28507b88
Allow override of inversedBy
2015-11-05 12:11:29 +01:00
Pantel
43b2419a3c
[DDC-3711] add Test that check if the association key are composite
2015-10-31 17:19:39 +01:00
Pantel
7de2e04ccd
[DDC-3711] add Tests that check if the association key are composite
2015-10-31 17:15:06 +01:00
Marco Pivetta
7164e28138
#881 DDC-2825 - renaming table/schema name for clarity and to avoid collisions
2015-01-14 19:16:42 +01:00
Marco Pivetta
04467218a3
#881 DDC-2825 - providing YAML mappings for explicit schema definition
2015-01-14 18:05:58 +01:00
Marco Pivetta
7911beaf1c
#881 DDC-2825 - providing YAML mappings for implicit schema definition
2015-01-14 18:05:38 +01:00
Adrien Crivelli
27adf8d6e9
Refactor partial into options array
...
This coherent with what is done for Table. All platform specific things
are grouped into an options array. Eventually flags should be migrated
into options as well.
2014-07-22 10:32:31 +09:00
Adrien Crivelli
eeb7ff4a6d
Support for Partial Indexes for PostgreSql and Sqlite
...
Support for Partial Indexes was available in Doctrine 1 following
http://www.doctrine-project.org/jira/browse/DC-82 . This commit
reintroduce support for Doctrine 2. We use the same syntax with an
optionnal "where" attribute for Index and UniqueConstraint.
2014-07-22 10:32:30 +09:00
Adrian Olek
32ed32cf56
Added index flags test
2014-04-14 01:21:23 +02:00
Benjamin Eberlei
2feffe164a
Merge branch 'DDC-2732'
2014-01-02 23:33:56 +01:00
Benjamin Eberlei
b1e031a1b4
[DDC-2732] Add tests for XML id options fix.
2014-01-02 23:33:49 +01:00
Fabio B. Silva
3140593e9b
Second level cache
2013-12-16 11:05:04 -05:00
Benjamin Eberlei
b53fffe252
Fix YAML EntityListener definition in tests
2013-03-14 21:18:54 +01:00
Benjamin Eberlei
e128728105
Fix bugs in tests
2013-03-14 20:09:41 +01:00
Fabio B. Silva
e6d9d1de47
support naming convention for listeners without mapping.
2013-01-29 12:14:53 -02:00
Fabio B. Silva
c60e3e4ba4
remove @LifecycleCallback
2013-01-29 12:14:52 -02:00
Fabio B. Silva
a265511368
rename subscribers to listeners
2013-01-29 12:14:52 -02:00
Fabio B. Silva
256cecbefa
evaluate as lifecycle callback if the listener class is not given.
2013-01-29 12:14:52 -02:00
Fabio B. Silva
f0b04375de
yaml driver
2013-01-29 12:14:52 -02:00
Benjamin Eberlei
7c337748b6
DDC-2199 / DDC-2192 - Versioned fields didnt work in XML/YAML mapping
2012-12-16 12:57:53 +01:00
Fabio B. Silva
86fddfed9a
Fix DDC-2069
2012-10-20 00:28:38 -03:00
Benjamin Eberlei
7b758eee57
[DDC-1816] Verify XML <discriminator-column /> element works as expected/documented in tests.
2012-07-08 09:06:52 +02:00
Fabio B. Silva
85790f0752
support for attribute override
2012-04-21 01:43:18 -03:00
Fabio B. Silva
9e010cbd34
added xml/yml drivers
2012-04-21 01:41:04 -03:00
Fabio B. Silva
52c49b444e
test multiple entity results
2012-04-15 15:40:43 -03:00
Fabio B. Silva
b49180875c
yml driver
2012-04-15 15:40:42 -03:00
Fabio B. Silva
d6809773db
mention parent classes for identifier required exception.
2012-03-25 13:34:52 -03:00
Fabio B. Silva
f591e428c3
mention parent classes when not is a entity or mapped super class.
2012-03-25 12:54:09 -03:00
Vitali Yakavenka
78d3f647ff
Merge branch 'master' of git://github.com/doctrine/doctrine2 into SupportCustomIdGenerators
2012-02-21 09:45:16 +03:00
Fabio B. Silva
5d01123413
Fix DDC-807, DDC-553
2012-02-13 23:22:49 -02:00
jsor
fac820f0e2
Complete custom column option implementation
...
- Support for xml driver
- Tests
2012-01-27 11:05:47 +01:00
Jan Sorgalla
d68fcd8bd2
Implement custom options on table level
2012-01-26 15:05:26 +01:00
Vitali Yakavenka
53ecedf70a
Remove support to pass arguments to custom ID generator's constructor
2012-01-08 15:20:35 +03:00
Vitali Yakavenka
4879c50c5d
Merge remote-tracking branch 'doctrine/master' into SupportCustomIdGenerators
2011-12-19 16:47:47 -08:00
Fabio B. Silva
017a7d889f
Fixed DDC-1468
2011-12-15 17:12:01 -02:00
Fabio B. Silva
33c68df3ba
Fixed DDC-1170
2011-12-05 17:35:49 -02:00
Vitali Yakavenka
84086915e4
Add support for custom ID generator in Yaml driver
2011-11-28 23:30:32 +03:00
Fabio B. Silva
0632b37492
fix default field type
2011-11-14 13:17:56 -02:00
Fabio B. Silva
b2d98495b1
mapping files
2011-09-07 18:29:43 -03:00
Benjamin Eberlei
816039f23f
DDC-1302 - Fix bug in XmlDriver not handling orphan removal
2011-07-31 11:32:57 +02:00
Michael Ridgway
9ae30421dd
Removed onUpdate property on join columns
2011-06-28 15:50:14 -04:00
Guilherme Blanco
a31289b9d7
Added support to NamedQueries through ClassMetadata.
2011-03-06 18:45:09 -03: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
72f65c3665
Some changes to the TestCase
2010-09-20 19:23:41 +02:00