1
0
Fork 0
mirror of synced 2025-04-01 20:36:14 +03:00
Doctrine 2 Object Relational Mapper (ORM)
Find a file
Alexander 2653d735e2 [DDC-551] Added state of the complete filter collection to the EM
Previously it was sufficient to use the old parser result for a Query if
the DQL didn't change (Query::STATE_CLEAN), but now there must also be
no changes to the filter collection of the EntityManager.

In the old situation each Query object would create a hash of all the
filter objects on it's own. That was not very efficient.

This commit adds the state of the current filter collection to the
EntityManager. The state will be set to FILTERS_STATE_DIRTY as a filter
is enabled, removed or a parameter is set on a filter. The hash is also
computed by the EntityManager, but only if the filter collection is
dirty. This will prevent recalculation of the hash with each query.
2011-08-16 13:34:42 +02: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-551] Added state of the complete filter collection to the EM 2011-08-16 13:34:42 +02:00
tests [DDC-551] Added state of the complete filter collection to the EM 2011-08-16 13:34:42 +02:00
tools/sandbox add inverseBy-Attribute to User-Entity to get valide schema 2010-09-17 11:55:00 -05:00
.gitignore Updating gitignore to properly ignore Common and DBAL 2010-05-25 15:13:01 -05:00
.gitmodules Remove copied code of Symfony Console/Yaml and added submodules. 2011-02-28 21:51:56 +01:00
build.properties.dev Update build.xml with deployment tasks. 2010-12-04 10:59:14 +01:00
build.xml Merge 2.0.x build.xml changes into master build.xml 2011-06-18 22:07:14 +00:00
doctrine-mapping.xsd DDC-1208 - Allow namespace separator in <discriminator-mapping /> 2011-06-15 18:31: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 Updated UPGRADE file for 2.0 BETA 2 release and added a small README 2010-06-13 14:39:46 +02: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_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

Doctrine 2 is an object-relational mapper (ORM) for PHP 5.3.0+ 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: