Guilherme Blanco
|
e279dfaa91
|
Merge pull request #6772 from greg0ire/disallow_many_to_one_orphan_removal
Disallow orphan removal attribute on many-to-one
|
2017-10-16 07:47:26 -04:00 |
|
Guilherme Blanco
|
87a6d0b77e
|
Merge pull request #6774 from greg0ire/proove_orphan_removal_is_useless
Proove orphan removal is useless
|
2017-10-15 22:12:31 -04:00 |
|
Grégoire Paris
|
ffd3d34f34
|
Disable uuid generation
Apparently, setting a value by hand is not enough to avoid it.
|
2017-10-14 12:39:58 +02:00 |
|
Grégoire Paris
|
57e9feffb2
|
Avoid uuid generation
pg needs an extra module to do this, so let's spare us that and set them
manually.
|
2017-10-14 12:39:58 +02:00 |
|
Grégoire Paris
|
6b5c97055c
|
Set null on delete, at database level
|
2017-10-14 12:39:57 +02:00 |
|
Grégoire Paris
|
30fccf8e83
|
Proove orphan-removal on many-to-one is useless
|
2017-10-14 12:39:57 +02:00 |
|
Grégoire Paris
|
2a865177b9
|
Disallow orphan removal attribute on many-to-one
It only makes sense for collections, and there is no collection here.
Plus the docs do not say it is supported.
See
http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/working-with-associations.html#orphan-removal
|
2017-10-13 16:38:02 +02:00 |
|
Thomas Landauer
|
d560449661
|
Minor formating
|
2017-10-11 22:50:32 +02:00 |
|
Thomas Landauer
|
436b15e873
|
Moved explanation out of PHP-Codeblock...
...to make it visible for XML and YML too.
|
2017-10-11 22:45:42 +02:00 |
|
Marco Pivetta
|
aea970722e
|
Merge pull request #6764 from AlessandroMinoccheri/fix_doc
fixed little typo inside documentation
|
2017-10-11 20:44:16 +02:00 |
|
Alessandro Minoccheri
|
b1466e6d3e
|
fixed little typo inside documentation
|
2017-10-11 17:04:29 +02:00 |
|
Luís Cobucci
|
8e16748ff8
|
Merge pull request #6734 from ossinkine/issue-6734
Add DateInterval type parameter
|
2017-10-11 13:13:09 +02:00 |
|
Luís Cobucci
|
9e9e5628f5
|
Merge pull request #6755 from BenMorel/patch-2
EntityManager::getReference() can return null
|
2017-10-09 20:05:46 +02:00 |
|
Luís Cobucci
|
f2dc9a8f92
|
Merge pull request #6760 from doctrine/fix/#6759-showstopper-one-to-one-inverse-not-being-loaded-with-correct-identifier-restrictions
#6759 showstopper one-to-one inverse not being loaded with correct identifier restrictions when defining `joinColumn`
|
2017-10-08 14:47:15 +02:00 |
|
Marco Pivetta
|
66f903a38f
|
#6759 remove # symbol from @group annotation as per @lcobucci's review
Ref: https://github.com/doctrine/doctrine2/pull/6760#discussion_r143353225
|
2017-10-08 14:26:45 +02:00 |
|
Marco Pivetta
|
3dd7eb5888
|
#6759 removing outdated comment as per @alcaeus' review
Ref: https://github.com/doctrine/doctrine2/pull/6760#discussion_r143347881
|
2017-10-08 10:57:33 +02:00 |
|
Marco Pivetta
|
dd12ba88ee
|
#6759 avoiding reuse of the $identifier variable when constructing an identifier from the owning side value
Fixes #6759
|
2017-10-07 12:54:36 +02:00 |
|
Marco Pivetta
|
83e00d5010
|
#6759 cleaning up test case, using new models from the isolated namespace
|
2017-10-07 12:52:34 +02:00 |
|
Marco Pivetta
|
d831f4fd9f
|
#6759 segregating test models into their own namespace
|
2017-10-07 12:48:19 +02:00 |
|
Marco Pivetta
|
6ba2d1c317
|
#6759 cleaning up test case body
|
2017-10-07 10:09:44 +02:00 |
|
Jan Langer
|
5f99cad669
|
Failing test - inverse side OneToOne loaded without identifier condition
|
2017-10-06 17:34:34 +02:00 |
|
Benjamin Morel
|
fb7a96caf9
|
EntityManager::getReference() can return null
|
2017-10-05 00:27:11 +02:00 |
|
Jonathan H. Wage
|
13f838f8be
|
Merge pull request #6749 from KonstantinKuklin/patch2
sync type of property em with constructor value
|
2017-10-04 08:47:55 -04:00 |
|
Konstantin Kuklin
|
2d88e45240
|
sync type of property em with constructor value
|
2017-10-04 03:43:20 +03:00 |
|
Marco Pivetta
|
2ade863bca
|
Merge pull request #6746 from doctrine/malarzm-patch-1
[DOCS] Emphasize that Embeddable can only contain simple fields
|
2017-10-03 17:42:31 +02:00 |
|
Maciej Malarz
|
19dcd629c0
|
[DOCS] Emphasize that Embeddable can only contains simple fields
|
2017-10-03 17:14:06 +02:00 |
|
Gocha Ossinkine
|
4fdbdabae4
|
Add DateInterval type parameter
|
2017-09-28 13:15:40 +05:00 |
|
Marco Pivetta
|
53245e8a73
|
Merge pull request #6731 from guiajlopes/master
#6723 Remove variable from UnitOfWork#createEntity()
|
2017-09-26 13:10:39 +02:00 |
|
Guilherme Lopes
|
a7e13f89cc
|
#6723 Remove variable from UnitOfWork#createEntity()
|
2017-09-26 12:52:18 +02:00 |
|
Marco Pivetta
|
1d5c87ee4b
|
Merge pull request #6714 from guiajlopes/master
Remove unnecessary else
|
2017-09-21 14:30:25 +02:00 |
|
Marco Pivetta
|
f96dc3ba91
|
Merge pull request #6715 from PowerKiKi/patch-3
Promote nullable types from PHP 7.1
|
2017-09-21 14:29:23 +02:00 |
|
Adrien Crivelli
|
3d3ecc77bd
|
Drop PHP version specifics
|
2017-09-21 21:28:19 +09:00 |
|
Guilherme Lopes
|
df1250ee4b
|
Fix negation clause and also adding both conditions in the same if
|
2017-09-21 13:42:51 +02:00 |
|
Adrien Crivelli
|
d995203ee1
|
Promote nullable types from PHP 7.1
Also don't show type hinting in a bad light with sentences such as "If you insist on type-hinting"
|
2017-09-21 17:29:54 +09:00 |
|
Guilherme Lopes
|
8ecddc4fc1
|
Adding empty line between logic blocks
|
2017-09-21 10:13:19 +02:00 |
|
Guilherme Lopes
|
059cfd86df
|
Remove unnecessary else
|
2017-09-21 10:02:43 +02:00 |
|
Benjamin Eberlei
|
0c4f9a8866
|
Clarify some assumptions the object hydration makes.
|
2017-09-16 17:15:08 +02:00 |
|
Marco Pivetta
|
6a86175617
|
Merge pull request #6695 from wshafer/prefix-update
Update table prefix docs
|
2017-09-11 20:58:11 +02:00 |
|
Marco Pivetta
|
bf8e27b422
|
Merge pull request #6690 from bitwombat/issue_6686
Clarify association mapping language
|
2017-09-11 08:51:50 +02:00 |
|
Marco Pivetta
|
80f7824b3d
|
Merge pull request #6691 from keradus/php_syntax
Use newer PHP syntax
|
2017-09-11 08:50:05 +02:00 |
|
Westin Shafer
|
828bfdf4ae
|
Update docs for deprecated setTableName()
Updated docs to remove deprecated setTableName() and replace it with setPrimaryTable()
|
2017-09-07 13:59:32 -06:00 |
|
Dariusz Ruminski
|
c7d6d62393
|
Use newer PHP syntax
|
2017-09-06 01:32:49 +02:00 |
|
Greg Bell
|
c429f1c38b
|
Clarify association mapping language
- 5.3 was wrong - should really be 'inversedBy'
- 11.1 - change 'use' to 'have' for consistency. A class has an attribute.
- See https://github.com/doctrine/doctrine2/issues/6686
|
2017-09-06 07:58:34 +10:00 |
|
Marco Pivetta
|
8b81691e77
|
Merge pull request #6685 from votemike/update-maxresult-docblocks
Updating `Query#$_maxResults` to allow for `null` (no limit)
|
2017-09-04 11:40:06 +02:00 |
|
Michael Gwynne
|
d0d1e557d1
|
Adding change to appease scrutinizer
|
2017-09-04 10:11:43 +01:00 |
|
Michael Gwynne
|
fd9f96c766
|
Updating _maxResults to allow for null
|
2017-09-04 09:26:11 +01:00 |
|
Marco Pivetta
|
4bc29d1049
|
Merge branch 'fix/#5796-catch-also-throwable-in-transactional-abstraction'
Close #5796
|
2017-09-02 13:58:08 +02:00 |
|
Marco Pivetta
|
c016e2d434
|
Adding minimal test to verify EntityManager behavior against #5796
|
2017-09-02 13:55:07 +02:00 |
|
Marco Pivetta
|
12043cd845
|
#5796 minor CS fixes (imported symbols) and removing last PHP5 compliance bits
|
2017-09-02 13:47:58 +02:00 |
|
Marco Pivetta
|
a1c93bfd48
|
#5796 replacing Exception catching with Throwable catching, removing PHP5 compliance code
|
2017-09-02 13:44:12 +02:00 |
|