Kirill chEbba Chebunin
c6b3899c2d
Add QueryBuilder::addCriteria() for Criteria - QueryBuilder bridge
2012-08-20 20:27:03 +04:00
FabioBatSilva
641af15280
Fix DDC-1977
2012-08-15 22:57:21 +02:00
Alexander
185b4e0c41
Fix setCustomHydrationModes + added test
2012-08-14 22:43:32 +02:00
Guilherme Blanco
f8a582d454
Merge pull request #391 from FabioBatSilva/ns-class
...
Give FQCN to NamingStrategy#propertyToColumnName
2012-08-12 15:50:20 -07:00
Benjamin Eberlei
104a76a6b1
Update EntityRepository and PersistentCollection to new Criteria#expr() method instead of having to implement themselves.
2012-08-01 21:37:22 +02:00
Luis Cordova
221ab3b695
[DDC-1872] adjust as per @stof comments on test skipped message
2012-08-01 02:27:23 -05:00
Luis Cordova
5d0082471f
[DDC-1872] skip 5.4 versions for php 5.3 uncompatible tests
2012-07-29 22:55:26 -05:00
Benjamin Eberlei
e8d3fc73ff
Merge branch 'DDC-1964'
2012-07-29 11:25:54 +02:00
Benjamin Eberlei
7c1235dedb
[DDC-1964] Fix issue with refresh and and object hydrator not setting field to null explicitly to override possible previous values.
2012-07-29 11:25:45 +02:00
Benjamin Eberlei
bcbef5670c
Merge branch 'DDC-1939'
2012-07-29 09:27:20 +02:00
Benjamin Eberlei
354fa14df4
[DDC-1939] Add test for persistent collection delete with composite key
2012-07-29 09:27:08 +02:00
Luis Cordova
8742377c3b
[DDC-1872] add tests to evaluate annotations overrides with traits
2012-07-29 00:03:25 -05:00
Guilherme Blanco
04e6cc78cd
Fixed is_subclass_of comparing an interface which brought our requirement to 5.3.9. Changed to reflection approach which still keep us at the same dependency as before.
2012-07-26 15:50:51 -04:00
Johannes M. Schmitt
fc4a07c2b3
added failing test for refresh with eager fetching
2012-07-26 12:54:58 +02:00
Fabio B. Silva
1369e3d133
change ticket/group
2012-07-24 14:34:27 +02:00
Fabio B. Silva
50dac4096a
give FQCN to NamingStrategy#propertyToColumnName
2012-07-24 14:34:27 +02:00
Guilherme Blanco
68adc7fed3
Merge pull request #403 from Ocramius/DDC-1925
...
DDC-1925 tests
2012-07-22 22:02:13 -07:00
Marco Pivetta
fb3c6f0e8f
DDC-1933 - Fixing cloning of QueryBuilder and adding related tests
2012-07-21 20:34:20 +02:00
Marco Pivetta
5b3eee8071
DDC-1925 - squashing ticket tests into a single file
2012-07-20 00:03:39 +02:00
Marco Pivetta
81f97e92d3
Adding tests for DDC-1925
2012-07-19 22:00:56 +02:00
Marco Pivetta
f3aae5de0e
Removing tests moved to Doctrine\Common
2012-07-10 02:48:28 +02:00
Marco Pivetta
01f058953b
Removing DriverChain and using Doctrine\Common implementation instead
2012-07-10 02:47:08 +02:00
Marco Pivetta
e2c1d7c38a
Removing deprecated StaticPHPDriver and PHPDriver
...
modifying tests so that the new implementation in Doctrine\Common is referenced
2012-07-10 02:31:30 +02:00
Benjamin Eberlei
b2385e0afa
[DDC-1637] Implementation of Criteria Collections API for
...
PersistentCollection (OneToMany only) and EntityRepository.
2012-07-09 09:59:48 +02:00
Benjamin Eberlei
4aafeaf7a6
Fix test on PostgreSQL
2012-07-09 09:55:41 +02:00
Benjamin Eberlei
fe292cc503
Merge pull request #392 from widop/patch-1
...
Invalid paginator query cloning
2012-07-08 09:34:09 -07:00
Benjamin Eberlei
3b04cf5b2f
Merge pull request #396 from Ocramius/DDC-1893
...
DDC-1893 - Updating configuration to reflect latest Doctrine Common changes
2012-07-08 09:26:15 -07:00
Benjamin Eberlei
6e924f2a2c
[DDC-1657] Prove that DBAL changes also work in ORM, not leading to drop sequence statements on postgresql with SERIAL pks.
2012-07-08 18:22:38 +02:00
Marco Pivetta
346e34adf6
Reverting to default annotation driver with - delayed to 3.0
2012-07-08 17:33:50 +02:00
Benjamin Eberlei
eaae1f222f
Fix PostgreSQL test-failure. UnitOfWork#getEntityState() produced exists() queries because of unmanaged entity passed as parameter to AbstractQuery#setParameter(), thereby skewing the sql count
2012-07-08 16:57:40 +02:00
Marco Pivetta
7c2e5ae5b2
Adding tests for configuration object (also to ensure defaults for BC break early discovery)
2012-07-08 16:32:27 +02:00
Marco Pivetta
86dbddd596
Updating to reflect latest Doctrine Common changes
...
Also, changing logic so that the SimpleAnnotationReader is no more the
default one. An additional parameter for the method will allow using it.
The CS fixes that were additionally implemented (along with other minor changes
that do not affect BC compatibility are caused by a CS sniff via IDE.
2012-07-08 16:30:35 +02:00
Benjamin Eberlei
7b758eee57
[DDC-1816] Verify XML <discriminator-column /> element works as expected/documented in tests.
2012-07-08 09:06:52 +02:00
Benjamin Eberlei
18d4a2f970
[DDC-1775] Fix NotifyPropertyChanged Listener being attached in addIdentityMap(), which is too late for certain use-cases in the persist lifecycle.
2012-07-07 17:47:29 +02:00
Eric GELOEN
3bdf86922c
Add clone query test
2012-07-07 17:35:05 +02:00
Benjamin Eberlei
3783ca6b43
[DDC-1707] Working testcase
2012-07-07 17:15:32 +02:00
Alexander
2dd2d694ca
Introduce StatementMock to make testsuite ready for upcoming DBAL change
2012-07-07 15:14:51 +02:00
Benjamin Eberlei
cc4613533b
Fix tests after DBAL adjustments
2012-07-04 23:58:41 +02:00
Benjamin Eberlei
4bfdcd32f7
Merge pull request #384 from FabioBatSilva/DDC1885
...
[DDC-1885] Fix quotes in many to many persisters
2012-07-04 14:43:48 -07:00
Guilherme Blanco
6ba205f561
Merge pull request #314 from Ocramius/dcom-metadata-drivers-reuse
...
Doctrine\Common metadata drivers reuse
2012-07-04 13:30:54 -07:00
Fabio B. Silva
632d13ba0c
fix extra lazy count
2012-07-04 17:11:43 -03:00
Fabio B. Silva
fe11831bd7
test remove item and clear collection
2012-07-04 17:11:43 -03:00
Fabio B. Silva
076663fe3a
fix DDC-1885 in persisters
2012-07-04 17:11:42 -03:00
Benjamin Eberlei
5cdb0ae8be
[DDC-1907] Add generation of remove method for collections
2012-07-04 21:04:47 +02:00
Marco Pivetta
943cff673a
Fixing test expecting a ORM\Mapping exception
...
Those exceptions are now in the Common\Persistence\Mapping namespace
2012-07-04 20:59:21 +02:00
Marco Pivetta
63fbf7c2e5
Fixing broken tests because of wrong method signature and reference to the old Driver interface
2012-07-04 20:59:21 +02:00
Marco Pivetta
01b1b0b5fb
Removing code from the simplified drivers, use SymfonyFileLocator instead
2012-07-04 20:59:21 +02:00
Marco Pivetta
905acf9176
Removing Doctrine\ORM\Mapping\Driver\Driver interface
...
Interface has been moved to Doctrine\Common\Persistence\Mapping\Driver\MappingDriver
2012-07-04 20:59:21 +02:00
Marco Pivetta
ccace8cb8b
Moving exception throwing for invalid file mappings to Doctrine\Common\Persistence\Mapping\Driver\FileDriver
2012-07-04 20:59:20 +02:00
Marco Pivetta
03fb734de8
Removing API that should be moved to common
2012-07-04 20:59:20 +02:00
Marco Pivetta
82cfda3dec
Fixing reflection exceptions caused by changes in the AbstractFileDriver interface
2012-07-04 20:59:20 +02:00
Marco Pivetta
34bb0c4943
Reducing code duplication
...
SimplifiedXmlDriver and SimplifiedYamlDriver are still not valid after this commit
2012-07-04 20:59:20 +02:00
Marco Pivetta
e6a2bae5d7
Updating mapping driver interface to comply with Doctrine\Common\Persistence\Mapping\Driver\MappingDriver
2012-07-04 20:59:20 +02:00
Guilherme Blanco
cb72219b11
Merge pull request #372 from FabioBatSilva/DDC-1845
...
[DDC-1845] QuoteStrategy
2012-06-24 20:36:54 -07:00
Guilherme Blanco
3dd3ecaff8
Updated dependency libraries with latest versions of related tools.
2012-06-24 23:29:14 -04:00
Fabio B. Silva
49f9d185de
Fix CS and test configuration
2012-06-18 14:43:01 -03:00
Fabio B. Silva
85b6f8dc2f
change quote strategy to interface
2012-06-18 14:43:00 -03:00
Fabio B. Silva
b6b35d9482
test quote join variable
2012-06-18 14:43:00 -03:00
Fabio B. Silva
e0a236a9af
fix DDC-142 load OneToOne EAGER
2012-06-18 14:43:00 -03:00
Fabio B. Silva
cd806b83db
fix DDC-142 persist OneToOne
2012-06-18 14:42:59 -03:00
Fabio B. Silva
7807d6806c
fix delete join table not owning side
2012-06-18 14:42:59 -03:00
Fabio B. Silva
ad380e3ac6
test join column and referenced join columns quote
2012-06-18 14:42:58 -03:00
Fabio B. Silva
debc6e4993
change QuoteStrategy#getJoinColumnName to use join column
2012-06-18 14:42:58 -03:00
Fabio B. Silva
2afe24f51c
start to work in xxToOne quote
2012-06-18 14:42:58 -03:00
Fabio B. Silva
a75c672ee7
fix sequence and join columns
2012-06-18 14:42:57 -03:00
Fabio B. Silva
7215c1a3b1
test join table quote
2012-06-18 14:42:57 -03:00
Fabio B. Silva
f335f23145
tests for quoted columns metadata
2012-06-18 14:42:56 -03:00
Fabio B. Silva
8fec73673d
fix DDC-1719 in persiter and query level
2012-06-18 14:42:56 -03:00
Fabio B. Silva
505bdb9c03
missing files
2012-06-18 14:42:54 -03:00
Fabio B. Silva
db53b8651c
apply quote strategy at sqlwalker
2012-06-18 14:42:53 -03:00
Fabio B. Silva
d49a968d55
tests for DDC-1719
2012-06-18 14:42:53 -03:00
Fabio B. Silva
2b4c29e4f2
tests for default strategy
2012-06-18 14:42:53 -03:00
Fabio B. Silva
9f297c3140
first tests for DefaultQuoteStrategy
2012-06-18 14:42:52 -03:00
Josiah Truasheim
ff8cc6f4c0
Fixed DDC-1880 Named Queries not registered in xml mapping
2012-06-18 23:41:20 +07:00
Benjamin Eberlei
a3210e78aa
Merge pull request #368 from doctrine/join-poc
...
Join poc
2012-06-18 08:18:13 -07:00
Benjamin Eberlei
6f13e9543b
Fix QueryTest
2012-06-18 17:03:08 +02:00
Guilherme Blanco
cba4e55ac4
Added more coverage tests. Required result confirmation.
2012-06-18 17:02:14 +02:00
Guilherme Blanco
41a650b699
Updated PoC for multiple components DQL support.
2012-06-18 17:01:52 +02:00
Alexander
e7dfa08756
[PoC] Arbitrary join support
2012-06-18 17:00:37 +02:00
Lars Strojny
164269bff1
Allow passing any callable instead of only closures
2012-06-16 13:20:34 +02:00
Guilherme Blanco
161ae31a7e
Adde more BC compatibility in setParameters.
2012-05-29 14:41:32 -04:00
Guilherme Blanco
b3e7493278
Made setParameters()/excute()/iterate() BC compatible.
2012-05-29 14:25:54 -04:00
Guilherme Blanco
1635e0af4b
[DDC-1840] Implemented parameters as a collection.
2012-05-28 12:16:42 -04:00
Benjamin Eberlei
1f2ce21b56
[DDC-1497] Change EntityGenerator add method generation for collections.
2012-05-27 20:31:01 +02:00
Benjamin Eberlei
8e644e1303
[DDC-1685] Fix DDC-117 Dataset cleanup
2012-05-27 18:54:35 +02:00
Benjamin Eberlei
3398d1e287
[DDC-1685] Fix bug in OutputWalker when used on entities with Foreign Key as Primary Key.
2012-05-27 18:33:35 +02:00
Benjamin Eberlei
03d5922996
[DDC-1713] Verify EntityRepository#findBy() works with fetching array of values.
2012-05-27 17:22:16 +02:00
Benjamin Eberlei
6523f7f59e
[DDC-1777] Fix bug in BasicEntityPersister#exists() when no primary key is set.
2012-05-27 17:11:21 +02:00
Benjamin Eberlei
f55b5411c8
[DDC-1791] Fix OutputWalker Pagination on Oracle
2012-05-27 13:22:48 +02:00
Benjamin Eberlei
44c867827c
[DDC-1783] Fix memory leak in ObjectHydrator when using AbstractQuery#iterate() and EntityManager#clear()
2012-05-27 12:00:43 +02:00
Karsten Dambekalns
bcddc47356
[DDC-1835] Fix cloning persistent collections.
2012-05-27 10:17:12 +02:00
Benjamin Eberlei
548c997f7b
[DDC-1799] Fix bug in YamlExporter using OneToOne instead of ManyToOne
2012-05-27 09:57:46 +02:00
Benjamin Eberlei
0868ec1c19
Update Common and fix cache tests with different assumptions about keys.
2012-05-26 19:29:51 +02:00
Guilherme Blanco
b32bb26a84
Re-added coverage for DDC-369 and DDC-954.
2012-05-23 01:07:29 -04:00
Guilherme Blanco
738bfd8082
Reverted coverage for DDC-369 and DDC-954.
2012-05-23 00:14:50 -04:00
Guilherme Blanco
3e601c3a53
Added coverage for DDC-369 and DDC-954. All passing.
2012-05-23 00:10:25 -04:00
Fabio B. Silva
0af5da77f1
fix DDC-1822
2012-05-19 13:40:01 -03:00
Fabio B. Silva
e9974911fe
fix tests
2012-05-04 21:13:20 -03:00
Fabio B. Silva
67f0722211
change test to uses data provider
2012-05-04 21:13:19 -03:00
Fabio B. Silva
790d98133c
fix DDC-1694
2012-05-04 21:11:51 -03:00