1
0
Fork 0
mirror of synced 2025-04-01 20:36:14 +03:00
Doctrine 2 Object Relational Mapper (ORM)
Find a file
Benjamin Eberlei bf32125bad DDC-1545 - Fix issue with changing values from null to something new.
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.
2011-12-19 17:55:19 +01:00
bin DDC-784 - Implement doctrine CLI for Windows and refactor CLI stuff in general 2010-09-30 20:57:14 +02:00
lib DDC-1545 - Fix issue with changing values from null to something new. 2011-12-19 17:55:19 +01:00
tests Merge remote-tracking branch 'origin/master' 2011-12-19 17:11:19 +01:00
tools/sandbox add inverseBy-Attribute to User-Entity to get valide schema 2010-09-17 11:55:00 -05:00
.gitignore Implemented alias support for EntityResult. This addresses DDC-1096 and DDC-1424. Improved DQL Parser, SQL Walker and Hydrators in general. Performance is generally improved by a factor of 20%. There is still more to be done, like remove the isMixed in ResultSetMapping, mainly because this query - SELECT u AS user FROM User u -, it should return an array('user' => [User object]), while currently it doesn't due to this before mentioned 'bug' in RSM. Will open a separate ticket for this. Also, UnitOfWork and Hydrators share code that could be abstracted/improved. 2011-11-14 01:36:39 -02:00
.gitmodules Remove copied code of Symfony Console/Yaml and added submodules. 2011-02-28 21:51:56 +01:00
.travis.yml Merge travis support from @pborreli - thanks! 2011-11-13 17:44:37 +01: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 Add support to distribute the XSD to a given directory during build process 2011-08-27 13:23:17 +02:00
composer.json Add autoload section to composer.json 2011-11-01 15:05:38 +01:00
doctrine-mapping.xsd fixed wrong on-delete XML Schema mapping 2011-09-20 11:10:59 +02:00
LICENSE [2.0] License corrections. 2009-02-25 13:43:24 +00:00
phpunit.xml.dist Switch testsuite to run with phpunit.ini.dist from main folder, not using AllTests approach. Fixed global state problem in tests that was caused by EventManager being reused. Significantly enhanced error message about cascade persist 2011-06-18 22:47:21 +02:00
README.markdown Specialize build status on versions 2011-11-13 22:40:27 +01:00
run-all.sh Add convenience helper for running tests against multiple different databases 2011-06-18 23:23:43 +02:00
UPGRADE_TO_2_0 DDC-645 - Demoted <change-tracking-policy /> to an attribute on <entity /> to allow better validation, fixed XSD schema 2010-08-08 11:32:12 +02:00
UPGRADE_TO_2_1 Clarify possible problem 2011-07-08 14:42:15 +02:00
UPGRADE_TO_2_2 More refactorings and optimizations. 2011-12-01 10:00:26 -05:00
UPGRADE_TO_ALPHA3 [2.0] Code cleanups. Preparations for DDC-193. Fixed DDC-399, type configuration remains global for now but the irritating instance methods on the Configuration have been removed. Use Type::addType et al. Added TODOs for naming standards. 2010-03-15 17:19:00 +00:00
UPGRADE_TO_ALPHA4 [2.0] Code cleanups. Preparations for DDC-193. Fixed DDC-399, type configuration remains global for now but the irritating instance methods on the Configuration have been removed. Use Type::addType et al. Added TODOs for naming standards. 2010-03-15 17:19:00 +00:00

Doctrine 2 ORM

Master: Build Status 2.1.x: Build Status

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.

More resources: