Nadav
d314386060
we can (now) transform it into IS NULL
2011-08-26 07:42:16 +03:00
Benjamin Eberlei
e69e0fcc71
Merge remote-tracking branch 'origin/master'
2011-08-24 20:45:32 +02:00
Benjamin Eberlei
b560551b1d
Merge branch 'DDC-1333'
2011-08-21 15:06:21 +02:00
Benjamin Eberlei
b83945d486
DDC-1333 - Fix bug in xsd
2011-08-21 15:06:14 +02:00
Benjamin Eberlei
3c82b49cd3
Merge branch 'DDC-1340'
2011-08-21 15:02:05 +02:00
Benjamin Eberlei
8c2db89f2b
DDC-1340 - Fix bug with merge() and optimistic lock exception
2011-08-21 15:01:57 +02:00
Alain Hippolyte
06d56156dd
Remove trailing spaces
2011-08-19 06:11:58 +03:00
Guilherme Blanco
736443f6c2
Merge pull request #108 from lenar/patch-1
...
short classname support for custom repository class
2011-08-18 11:03:43 -07:00
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
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
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
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
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
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
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
Benjamin Eberlei
8f589e5876
Merge pull request #92 from mridgway/DDC-1275
...
DDC-1275: Added join columns to result set mapping
2011-07-28 14:18:55 -07:00
Michael Ridgway
1250cd7a5a
F[DDC-1275] ixed check for owning side of a toOne relationship
2011-07-28 10:50:22 -04:00
Alexander
d439f67df5
[DDC-1301] Prefixed all Legacy models properties with _
2011-07-28 12:25:23 +02:00
Alexander
d7dbde8f3e
[DDC-1301] Fixed count() for fetch="EXTRA_LAZY" on OneToMany association
2011-07-28 11:01:52 +02:00