Benjamin Eberlei
f0a09a2d52
Merge branch 'DDC-1618'
2012-01-25 00:03:56 +01:00
Thomas Rabaix
8027fca378
Add SqlWalker::HINT_DISTINCT constant
2012-01-25 00:03:40 +01:00
Thomas Rabaix
d9bb861b1f
Fix DDC-1618 - add more check before throwing an iterateWithFetchJoinNotAllowed exception
2012-01-25 00:03:40 +01:00
Benjamin Eberlei
aca20fc615
Merge pull request #268 from sandermarechal/paginate-where-not
...
Add support for paginating WHERE NOT ... queries
2012-01-23 11:50:50 -08:00
Sander Marechal
c6c82efe07
Fixed indentation
2012-01-23 16:11:30 +01:00
Sander Marechal
5dc0081f56
Add support for paginating WHERE NOT ... queries
...
The Pagination tool throws an exception on a DQL query like:
SELECT u FROM User u WHERE NOT (u INSTANCE OF Person)
This is because Paginate does not know about the
Doctrine\ORM\Query\AST\ConditionalFactor which implements the NOT
operator. This patch adds support for that.
2012-01-23 15:42:41 +01:00
Benjamin Eberlei
8bf1c96ae1
Merge branch 'DDC-1613'
2012-01-22 13:35:26 +01:00
Benjamin Eberlei
775071e1ff
[DDC-1613] Merge KnpLabs/Pagerfanta Pagination into a Doctrine\ORM\Tools\Pagination namespace. Thanks to @hobodave, pablo and the knplabs team for developing and maintaining this code.
2012-01-22 13:35:06 +01:00
Benjamin Eberlei
358bb2ec33
Merge pull request #267 from webtor/master
...
Bugfix for crushing when git clone --recursive doctrine2
2012-01-22 01:40:14 -08:00
Alexandr Torosh
9f831f4c98
changed submodule doctrine-build-common url
...
https://github.com/doctrine/doctrine-build-common.git
to
git://github.com/doctrine/doctrine-build-common.git
with read-only access
2012-01-21 23:38:55 +02:00
Benjamin Eberlei
1d46d2b9af
Merge branch 'DDC-1610'
2012-01-21 13:58:33 +01:00
Benjamin Eberlei
faf92883b6
[DDC-1610] Add test and fix wakeup reflection in combination with event listener
2012-01-21 13:58:25 +01:00
Benjamin Eberlei
44831f21c1
Merge branch 'DDC-1612'
2012-01-21 13:06:38 +01:00
Benjamin Eberlei
6c24251452
[DDC-1612] Fix bug with EntityManager#flush($entity) on new entities.
2012-01-21 13:06:30 +01:00
Benjamin Eberlei
1d6a21f7fa
Merge branch 'DBAL-204'
2012-01-21 11:32:07 +01:00
Benjamin Eberlei
0f3abde413
[DBAL-204] Filter namespaced assets if Schemas/Emulation is not supported.
2012-01-21 11:31:54 +01:00
Guilherme Blanco
febfe35c23
Added coverage for DDC-1529.
2012-01-18 23:51:11 -05:00
Guilherme Blanco
74f3ed7e29
Fixing CS.
2012-01-18 23:27:28 -05:00
Guilherme Blanco
b98280a504
Quick optimizations are always good.
2012-01-18 23:09:23 -05:00
Benjamin Eberlei
e0fc09994c
DDC-742 - Flush Memcache, otherwise fail.
2012-01-18 21:32:56 +01:00
Guilherme Blanco
d39760ba49
Fixed DDC-1608. Non-initialized PersistentCollection methods removeElement and contains now deal correctly with managed entities.
2012-01-18 01:04:25 -05:00
Guilherme Blanco
c1012f7970
Merge pull request #259 from danielholmes/m2m_extra_lazy_contains
...
Added fix for collection->contains with many-to-many extra lazy fetchMode
2012-01-16 19:51:11 -08:00
Guilherme Blanco
2bb511584e
Merge pull request #261 from armetiz/patch-7
...
Unique key name isn't correctly set - DDC-1603
2012-01-16 19:44:22 -08:00
Guilherme Blanco
0f07044836
Added coverage to DDC-1587.
2012-01-16 22:31:14 -05:00
Guilherme Blanco
fdb2b9c655
Optimized scalar type mapping support.
2012-01-16 14:26:13 -05:00
armetiz
21c9be74c9
Update lib/Doctrine/ORM/Tools/SchemaTool.php
2012-01-16 13:54:04 +01:00
Benjamin Eberlei
28403abe78
Merge branch 'DDC-1604'
2012-01-16 12:51:20 +01:00
Benjamin Eberlei
a029b28423
[DDC-1604] Have ORM Proxy implement new \Doctrine\Common\Persistence\Proxy
...
* Adjust ProxyFactory to generate proxies according to new naming schema.
* Change proxy naming and file-name generation to be a bit more consistent than previous approach.
[DDC-1598] Additional regexp to check for simple ID methods to make it even more safe.
2012-01-16 12:50:36 +01:00
armetiz
56c49fedd2
Unique key name isn't correctly set - DDC-1603
2012-01-16 10:30:15 +01:00
Daniel Holmes
a12e5ac8a7
Updated some comparisons to strict equality
2012-01-16 08:12:11 +11:00
Benjamin Eberlei
27451a59d4
Merge pull request #254 from jsor/custom_options
...
Pass options attribute in @Column annotation to Schema\Column's customSchemaOptions
2012-01-15 09:06:46 -08:00
Benjamin Eberlei
47e56de443
Merge branch 'DDC-1594'
2012-01-15 17:42:37 +01:00
Benjamin Eberlei
56ea4872ca
DDC-1594 - Fix problem with merge and an existing managed proxy instance.
2012-01-15 15:48:44 +01:00
Benjamin Eberlei
36ce26691d
DDC-1585 - Throw exception if setting target entity of the wrong type to an assocation.
2012-01-15 14:59:20 +01:00
Daniel Holmes
5deebc8738
Added fix for collection->contains when many-to-many extra lazy fetchMode
2012-01-15 23:25:57 +11:00
Benjamin Eberlei
3c391f8f37
Merge pull request #258 from danielholmes/patch-1
...
Fix namespace of BasicEntityPersisterTypeValueSqlTest
2012-01-15 03:33:30 -08:00
Daniel Holmes
cd6b584722
Fix namespace of BasicEntityPersisterTypeValueSqlTest
2012-01-15 22:31:01 +11:00
Benjamin Eberlei
e8e830f10a
Merge branch 'DDC-1601'
2012-01-15 12:12:15 +01:00
Benjamin Eberlei
9950af2f58
[DDC-1601] Fix failing test and remove unused code
2012-01-15 12:12:08 +01:00
Benjamin Eberlei
106f10513f
[DDC-1601] Fix bugs in SchemaValidator, using all modelsets as testdata for a large test
2012-01-15 11:27:52 +01:00
Benjamin Eberlei
6ffe4d3dda
[DDC-1601] Fix bugs in SchemaValidator, using all modelsets as testdata for a large test
2012-01-15 11:27:28 +01:00
Guilherme Blanco
ea14bcff4a
Fixed DDC-657. Added type conversion to scalar result.
2012-01-13 20:46:59 -05:00
Guilherme Blanco
52ee848bcb
Added coverage to DDC-1595 and DDC-1596.
2012-01-13 00:37:59 -05:00
Guilherme Blanco
bb10211983
Fixes DDC-1596. Added table alias to discriminator column when using STI.
2012-01-12 23:58:08 -05:00
Guilherme Blanco
da7fd2ece7
Merge pull request #250 from FabioBatSilva/DDC-1575
...
[DDC-1575] Give the FQCN to the naming strategy
2012-01-12 20:45:22 -08:00
Benjamin Eberlei
c1dae35a24
Fix notice when using regenerate if exists and file is not new.
2012-01-12 11:20:49 +01:00
jsor
615e22073f
Pass options attribute in @Column annotation to Schema\Column's customSchemaOptions
2012-01-11 15:58:57 +01:00
Benjamin Eberlei
adec530c13
Merge branch '2.2'
2012-01-09 08:26:33 +01:00
Benjamin Eberlei
41ae873048
DDC-1588 - Improve ResultCache API. The default cache impl is passed to new query cache profiles automatically now.
2012-01-09 08:26:07 +01:00
Benjamin Eberlei
d0b0b0ce59
Merge 2.2
2012-01-09 08:05:15 +01:00