Lenar Lõhmus
d7fbd2cd14
short classname support for custom repository class
2011-08-19 04:44:24 +03:00
Alexander
ed0fb4ece7
Merge branch 'master' into DDC-551
...
Conflicts:
lib/Doctrine/ORM/Persisters/OneToManyPersister.php
2011-08-16 16:59:48 +02:00
Guilherme Blanco
7433148f17
Fixed bug in XMLDriver where relation indexes are treathed as elements but documented as attributes.
2011-08-16 11:36:41 -03:00
Alexander
3800581947
[DDC-551] Altered persisters to make filters work with EXTRA_LAZY associations
2011-08-16 16:24:50 +02:00
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
Alexander
3b1ddb0346
[DDC-551] Added filters to SQLWalker
2011-08-16 12:21:43 +02:00
Guilherme Blanco
6857134f36
Fixed issue with duplicated commas if Entity has no fields.
2011-08-15 12:47:17 -03:00
Guilherme Blanco
a5ac76b192
Added new support to DQL: ORDER BY now supports SingleValuedPathExpression and INSTANCE OF now supports multi-value checking.
2011-08-15 01:57:02 -03:00
Guilherme Blanco
f148912a28
[DDC-934][DDC-1100][DDC-1331] Implemented support to multi-values in INSTANCE OF expression.
2011-08-15 01:53:56 -03:00
Guilherme Blanco
b9a24b5487
Merge pull request #93 from kwiateusz/UnitTestsUpdate
...
Last change from assertTrue($a instanceof $b) to assertInstanceOf
2011-08-14 21:05:15 -07:00
Benjamin Eberlei
2ee3cdeb0c
Merge pull request #106 from FabioBatSilva/master
...
[DDC-1325] @Target annotation
2011-08-14 10:22:13 -07:00
Benjamin Eberlei
7782780cda
Merge branch 'master' of github.com:doctrine/doctrine2
2011-08-14 19:20:30 +02:00
Benjamin Eberlei
26c56dd0d2
Merge pull request #40 from hhamon/query_builder_fix
...
[QueryBuilder] added missing $
2011-08-14 09:24:21 -07:00
Hugo Hamon
31f34e95cc
[QueryBuilder] added missing $
2011-08-14 18:21:31 +02:00
Dominik Liebler
6e47d7b16d
DDC-1278 - EntityManager::clear($entity) support
...
added test case and modified test data CmsUser to cascade detach address and articles (testing collections and single entites)
2011-08-14 16:12:12 +02:00
Guilherme Blanco
a0ca506db7
Added support to SingleValuePathExpression in ORDER BY.
2011-08-14 00:46:02 -03:00
Guilherme Blanco
63a2f02f4d
[DDC-408][DDC-1150][DDC-1277] Implemented support to parameter expanding on associations.
2011-08-13 21:28:54 -03:00
Fabio B. Silva
a04d2933fa
@Target annotation and support to common 2.2-DEV
2011-08-13 16:28:05 -03:00
Dominik Liebler
25f5ff0ca1
DDC-1278 - EntityManager::clear($entity) support
...
cascade detach operation only on entity name entities
2011-08-13 20:22:23 +02:00
Dominik Liebler
745535d269
fixed typo
2011-08-12 20:15:32 +02:00
Dominik Liebler
05fb0b913a
DDC-1278 - EntityManager::clear($entity) support
...
added new parameter $entityName for UnitOfWork::clear()
removed not implemented exception in EntityManager:clear()
2011-08-11 23:03:26 +02:00
Guilherme Blanco
e13720c33d
Merge pull request #103 from rdohms/patch-1
...
Add getReader to AnnotationDriver
2011-08-10 11:11:41 -07:00
Rafael Dohms
07e1c1e2e1
Added method to retrieve currently used Reader. This allows projects that use Doctrine to recycle the reader to use with other annotation-driven packages, like DMS\Filter and Symfony\Validator
2011-08-10 15:10:09 -03:00
Guilherme Blanco
816ce41f63
Added support to CaseExpression. Added support to nest AndX and OrX QueryBuilder composite expressions, since they do not mess with generated queries.
2011-08-08 02:09:25 -03:00
Guilherme Blanco
189c729f15
Added support to CaseExpression.
2011-08-08 02:08:19 -03:00
Benjamin Eberlei
1666d59da4
Merge branch 'DDC-1300'
2011-08-06 20:25:52 +02:00
Benjamin Eberlei
bcc7bb1c9c
DDC-1300 - Fix bug in fetch join hydration of entities with foreign key identifier
2011-08-06 20:25:45 +02:00
Benjamin Eberlei
60ed7769cd
Merge branch 'master' of github.com:doctrine/orm-documentation
2011-08-06 19:13:01 +02:00
Benjamin Eberlei
5ee8861350
Add note about comparing datetime and object by reference
2011-08-06 19:12:42 +02:00
Benjamin Eberlei
15c877b8e8
Merge branch 'master' of github.com:doctrine/doctrine2
2011-08-06 18:15:00 +02:00
Guilherme Blanco
19682bf87a
Merge pull request #102 from schmittjoh/configUpdate
...
updated configuration
2011-08-05 07:56:31 -07:00
Johannes Schmitt
7e47a601b0
updated configuration
2011-08-05 16:48:05 +02:00
Guilherme Blanco
01caa0d06e
Merge pull request #39 from craue/patch-1
...
completed the sentence in section "postUpdate, postRemove, postPersist"
2011-08-04 16:16:20 -07:00
Christian Raue
1de9b906fd
completed the sentence in section "postUpdate, postRemove, postPersist"
2011-08-05 02:10:40 +03:00
Guilherme Blanco
255cf347ec
Merge pull request #38 from mdpatrick/grammar_on_getting_started_xml_edition
...
Small grammar changes in section explaining lazyload/ArrayCollection.
2011-08-01 20:33:08 -07:00
Dan Patrick
6cd7d21db1
Small grammar changes in section explaining lazyload/ArrayCollection.
2011-08-01 18:04:14 -05:00
Benjamin Eberlei
c85de03b66
Add phar packaging target and distribute phar into download folder
2011-08-01 23:09:03 +02:00
Benjamin Eberlei
d3beb7e23e
Merge branch 'DDC-1313'
2011-08-01 21:45:39 +02:00
Benjamin Eberlei
ba882be76b
DDC-1313 - Optimize behavior of DriverChain::getAllClassNames()
2011-08-01 21:45:21 +02:00
Benjamin Eberlei
e12a5fb328
Merge branch 'master' of github.com:doctrine/doctrine2
2011-07-31 11:41:30 +02:00
Benjamin Eberlei
d583b149ac
Merge pull request #98 from asm89/master
...
[DDC-1301] Fixed tests teardown for mysql suite
2011-07-31 02:41:19 -07:00
Benjamin Eberlei
4675f65bea
Merge branch 'DDC-1302'
2011-07-31 11:34:27 +02:00
Benjamin Eberlei
816039f23f
DDC-1302 - Fix bug in XmlDriver not handling orphan removal
2011-07-31 11:32:57 +02:00
Guilherme Blanco
67818ea2cc
Merge pull request #37 from mdpatrick/associations_grammar_errors
...
Fixed minor grammatical errors in working-with-associations.rst
2011-07-30 15:40:12 -07:00
Dan Patrick
bfe5bea68d
Fixed grammatical errors in working-with-associations.rst
2011-07-30 17:15:44 -05:00
Alexander
953a0f6572
[DDC-1301] Fixed tests teardown for mysql suite
2011-07-29 09:35:59 +02:00
Benjamin Eberlei
c34612b8e9
[DDC-1298] DDC117Link file got lost from 2.1.x to master somehow
2011-07-28 23:44:11 +02:00
Benjamin Eberlei
f8558d7740
Merge branch 'master' of github.com:doctrine/doctrine2
2011-07-28 23:26:24 +02:00
Benjamin Eberlei
5c47c07794
Merge pull request #97 from asm89/DDC-1301
...
[DDC-1301] Fixed count() for fetch="EXTRA_LAZY" on OneToMany association
2011-07-28 14:26:15 -07:00
Benjamin Eberlei
3d788a10cf
Merge branch 'master' of github.com:doctrine/doctrine2
2011-07-28 23:19:44 +02:00