Doctrine 2 Object Relational Mapper (ORM)
This issue was introduced by a side-effect in 2.1.3 with d9f9228d95c5ab2a200b3e2d2b358c598267afb1. In this commit read-only objects where prevented to be updated. This lead to an invalid check not being performed in UnitOfWork#computeChangeSet which was present before where an association that was null would be injected into the originalEntityData using the UnitOfWork#setOriginalEntityProperty() method in the AbstractHydrator. This commit now explicitly sets this field to null using the same API so that is present during UnitOfWork#computeChangeSet. |
||
---|---|---|
bin | ||
lib | ||
tests | ||
tools/sandbox | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
build.properties.dev | ||
build.xml | ||
composer.json | ||
doctrine-mapping.xsd | ||
LICENSE | ||
phpunit.xml.dist | ||
README.markdown | ||
run-all.sh | ||
UPGRADE_TO_2_0 | ||
UPGRADE_TO_2_1 | ||
UPGRADE_TO_2_2 | ||
UPGRADE_TO_ALPHA3 | ||
UPGRADE_TO_ALPHA4 |
Doctrine 2 ORM
Doctrine 2 is an object-relational mapper (ORM) for PHP 5.3.2+ 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 Hibernates HQL. This provides developers with a powerful alternative to SQL that maintains flexibility without requiring unnecessary code duplication.