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
Marco Pivetta
19b5e87cab
on-update
is not supported anymore
2014-06-19 16:05:12 +02:00
Marco Pivetta
e940ce1df6
Replacing "
with '
to avoid escaping warnings
2014-06-19 15:54:43 +02:00
Marco Pivetta
59720370f9
Corrected FQCN reference in @expectedException
2014-06-19 15:53:37 +02:00
Marco Pivetta
7dfca09ff6
Minor CS fixes (use
statements compliant with PSR-2)
2014-06-19 15:53:11 +02:00
Marco Pivetta
32b24ba155
Fixed mismatch in expected exception message, see doctrine/doctrine2#1048
2014-06-07 14:55:59 +02:00
Adrian Olek
72bb16173a
Added Comment entity mapping for StaticPHPDriver test
2014-04-14 01:21:23 +02:00
Adrian Olek
32ed32cf56
Added index flags test
2014-04-14 01:21:23 +02:00
Giorgio Premi
6cb3fa8fb7
Removed all useless occurrence of require_once TestInit.php
2014-04-07 14:43:25 +02:00
Marco Pivetta
f80fceda0e
DDC-3042 - changing SQL generation tests to respect changes in naming strategy
2014-04-04 03:05:48 +02:00
Johannes Schmitt
4f585a3d63
Merge branch 'master' of github.com:doctrine/doctrine2 into ValueObjects
...
Conflicts:
UPGRADE.md
lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php
2014-01-04 17:52:32 +01:00
Benjamin Eberlei
69cad4079d
Merge pull request #820 from apancutt/master
...
Added support for field options to FieldBuilder
2014-01-03 14:03:25 -08:00
Adam Pancutt
352f5394e5
Removed FieldBuilder::unsigned() method as it is only supported by MySQL
2014-01-03 09:48:38 +00:00
Benjamin Eberlei
22d4d2e812
Merge branch 'DDC-2700'
2014-01-02 23:50:21 +01:00
Benjamin Eberlei
53ed898684
[DDC-2700] Add test and fix CS.
2014-01-02 23:50:15 +01: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
Jan Kramer
fbb7b5ad8e
Fix XmlDriver to accept embeddables
2013-12-07 16:40:54 +01:00
Jan Kramer
928c32d616
Update XML schema to reflect addition of embeddables
2013-12-07 16:38:32 +01:00
Adam Pancutt
25342b706d
Added support for field options to FieldBuilder
2013-10-15 12:37:06 +01:00
Benjamin Eberlei
4a50493ab7
[DDC-2608][DDC-2662] Fix SequenceGenerator requiring "sequenceName" and now throw exception. Fix a bug in quoting the sequenceName.
2013-09-08 15:59:58 +02:00
Fabio B. Silva
a165f63c8c
ANSI compliant quote strategy
2013-06-21 16:05:59 -04:00
Benjamin Eberlei
6548947df5
Merge pull request #666 from FabioBatSilva/DDC-2429
...
[DDC-2429] Fix xsd definition
2013-05-25 23:01:13 -07:00
Benjamin Eberlei
20b5ab26e7
Merge pull request #669 from hason/many_to_many
...
Fixed generating column names for self referencing entity.
2013-05-25 22:16:48 -07:00
Fabio B. Silva
1e95110b08
Add missing mapping files
2013-05-17 11:59:28 -03:00
Fabio B. Silva
1d7c72cc06
[DDC-2451] Fix test assert
2013-05-17 11:55:36 -03:00
Fabio B. Silva
4d6cef1ff6
[DDC-2451] Fix entity listeners serialization
2013-05-17 11:42:11 -03:00
Martin Hasoň
bef5b585cb
Fixed generating join column names for self referencing entity.
2013-05-17 16:28:45 +02:00
Fabio B. Silva
b147c472be
[DDC-2429] Fix xsd definition
2013-05-13 11:04:36 -03:00
Benjamin Eberlei
d0419782bd
[DDC-2300] Fix version xml mapping and serialization of ClassMetadata.
2013-03-14 23:20:23 +01:00
Benjamin Eberlei
b53fffe252
Fix YAML EntityListener definition in tests
2013-03-14 21:18:54 +01:00
Benjamin Eberlei
622ddd8d05
Refix test
2013-03-14 20:12:20 +01:00
Benjamin Eberlei
e128728105
Fix bugs in tests
2013-03-14 20:09:41 +01:00
Benjamin Eberlei
eca468b9d1
[DDC-2340] Fix bug with dirty collection matching + ordering.
2013-03-12 22:49:30 +01:00
Pascal Borreli
a2cd0f5804
Fixed typos
2013-03-11 00:08:58 +00:00
Fabio B. Silva
e6d9d1de47
support naming convention for listeners without mapping.
2013-01-29 12:14:53 -02:00
Fabio B. Silva
7b0f59ed7c
split override test
2013-01-29 12:14:53 -02:00
Fabio B. Silva
0d0f91a807
move listeners invocation from ClassMetadataInfo to ListenerInvoker
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
195b639344
change xml driver to use <lifecycle-callback\>
2013-01-29 12:14:52 -02:00
Fabio B. Silva
8495eca1a4
rename test
2013-01-29 12:14:52 -02:00
Fabio B. Silva
a01d6583d3
implements a entity listener resolver
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
46474bf457
added doctrine-mapping.xsd
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
7021f002f2
php driver
2013-01-29 12:14:52 -02:00
Fabio B. Silva
415c2a95f2
php static driver
2013-01-29 12:14:52 -02:00
Fabio B. Silva
f0b04375de
yaml driver
2013-01-29 12:14:52 -02:00
Fabio B. Silva
917aa70c97
test invalid class/method
2013-01-29 12:14:52 -02:00