1
0
mirror of synced 2024-12-05 03:06:05 +03:00
Doctrine 2 Object Relational Mapper (ORM)
Go to file
nclavaud b492d61398 Update identityMap when entity gets managed again
http://www.doctrine-project.org/jira/browse/DDC-3619

When using SoftDeleteable doctrine extension, an entity can be scheduled
for deletion, then persisted before flushing. In such a case, the entity
was removed from the unit of work identity map and no reference was
hold. This could lead to spl_object_hash collisions, and prevent
another, new entity to be persisted later.

This fix makes sure the unit of work identity map holds a reference to
the entity after it has been soft-deleted.
2015-03-17 22:19:10 +00:00
bin Fix the composer autoload paths for the doctrine CLT 2014-07-24 09:52:55 -04:00
docs add docs notice about custom object types as IDs 2015-03-17 21:08:07 +00:00
lib Update identityMap when entity gets managed again 2015-03-17 22:19:10 +00:00
tests Update identityMap when entity gets managed again 2015-03-17 22:19:10 +00:00
tools/sandbox Region cache clear commands 2013-12-16 11:05:05 -05:00
.coveralls.yml Simplify build matrix 2014-03-01 17:13:28 -05:00
.gitattributes Remove README.markdown from .gitattributes 2013-01-19 20:04:43 +01:00
.gitignore Added composer.lock to .gitignore 2013-03-07 14:12:10 +01:00
.gitmodules Removing submodules as of doctrine/doctrine2#570 2013-02-15 18:33:29 +01:00
.travis.yml travis: PHP 7.0 nightly added 2015-03-02 20:41:50 +01:00
build.properties New Build process 2013-09-07 12:56:49 +02:00
build.properties.dev Add support to distribute the XSD to a given directory during build process 2011-08-27 13:23:17 +02:00
build.xml New Build process 2013-09-07 12:56:49 +02:00
composer.json Added dependency with doctrine/cache 1.4 2015-01-17 22:27:59 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md 2013-12-14 11:29:07 +01:00
doctrine-mapping.xsd Adding use-column-prefix attribute as proposed (DDC-3293) #1239 2015-01-08 00:09:30 -02:00
LICENSE LGPL => MIT 2012-05-26 14:37:00 +02:00
phpunit.xml.dist Fixed typos 2013-03-11 00:08:58 +00:00
README.markdown Typo fix 2015-01-25 23:54:59 +01:00
run-all.sh Fixed typos 2013-03-11 00:08:58 +00:00
SECURITY.md Add SECURITY.md and a chapter on security assumptions in Doctrine ORM. 2014-02-21 16:12:32 +01:00
UPGRADE.md #1257 DDC-3300 DDC-3503 - providing upgrade notes for the breaking change in discriminator map declarations 2015-01-24 09:14:58 +01:00

Master 2.4 2.3 2.2 2.1
Build status Build status Build status Build status Build status
Coverage Status

Doctrine 2 is an object-relational mapper (ORM) for PHP 5.4+ that provides transparent persistence for PHP objects. It sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernate's HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.

More resources: