Aaron Muylaert
da2d3b406e
Create failing test for DDC-2645.
...
Merge not dealing correctly with composite primary keys.
2013-12-15 23:34:34 +01:00
jan brunnert
192bb6fd21
When the OptimisticLockingException is generated with the static function lockFailedVersionMismatch and the passed parameters are DateTime instances, the exception could not be thrown because the DateTime object is not implicitly converted to a string.
2013-10-29 09:24:52 +01:00
Chris Collins
b983d86612
Added a failing test case for DDC-2759.
2013-10-26 11:16:53 +02:00
Fabio B. Silva
b58fb8f5d4
[DDC-2668] Fix trim leading zero string
2013-09-26 23:23:49 +02:00
Benjamin Eberlei
0f0d8abd67
[DDC-2608][DDC-2662] Fix SequenceGenerator requiring "sequenceName" and now throw exception. Fix a bug in quoting the sequenceName.
2013-09-08 16:00:14 +02:00
Benjamin Eberlei
3cc5fc0252
[DDC-2660] Fix error with NativeSQL, ResultSetMappingBuilder and Associations as Primary Key.
2013-09-08 14:39:25 +02:00
Benjamin Eberlei
159ca79b81
Merge origin/2.4 into local branch
2013-09-07 08:55:15 +02:00
Benjamin Eberlei
2b148a27e0
Merge Oracle test fixes to 2.4 branch
2013-09-07 08:54:23 +02:00
Guilherme Blanco
0aef57f60c
Fixing missing table aliases when using Many2Many persister.
2013-08-26 10:29:45 -04:00
Guilherme Blanco
4a38534150
Fixed DDC-2235.
2013-08-20 10:08:07 +02:00
Guilherme Blanco
62b4160887
Fixed DDC-2506 by manually updating code. Closes PR #708 .
2013-08-20 09:56:39 +02:00
Fabio B. Silva
e250572cb4
fix DDC-2579
2013-08-10 17:53:50 +02:00
Guilherme Blanco
3f1003fee9
Fixed DDC-1884.
2013-08-10 17:48:03 +02:00
Michaël Gallego
67c1e1d2b1
Allow to have non-distinct queries
2013-08-10 17:43:26 +02:00
Austin Morris
43df821691
convert PersistentCollection functional tests to unit tests
2013-08-10 17:27:30 +02:00
Austin Morris
11d09702da
remove redundant require_once for TestInit.php
2013-08-10 17:27:30 +02:00
Austin Morris
f9f14139cf
do not initialize coll on add()
2013-08-10 17:27:30 +02:00
Austin Morris
1dae8d318f
PersistentCollection - initialize coll - create failing tests
2013-08-10 17:27:30 +02:00
Roger Llopart Pla
6a73608baf
Fixed name colision.
2013-08-10 17:02:10 +02:00
Roger Llopart Pla
f9955152b2
Added a test which verifies that the tree walkers are kept.
2013-08-10 17:02:10 +02:00
J. Bruni
ff34aaaa2c
Updated EntityGeneratorTest::testEntityTypeAlias
2013-08-10 16:24:43 +02:00
J. Bruni
9767a814a6
Updated EntityGeneratorTest::testEntityTypeAlias
2013-08-10 16:24:43 +02:00
Sander Marechal
06ed21e883
Remove extra-lazy-get for ManyToMany relation
2013-06-27 14:19:39 +02:00
Benjamin Eberlei
a91050e7f4
[DDC-2350] Eager Collections are not marked as initialized, leading to multiple queries being executed.
2013-06-25 19:34:12 +02:00
Guilherme Blanco
20e5d98b7b
Merge pull request #640 from denkiryokuhatsuden/patch-1
...
[Paginator]Add hidden field ordering for postgresql
2013-06-24 19:23:36 -07:00
Guilherme Blanco
457036aacb
Merge pull request #702 from FabioBatSilva/DDC-2459
...
[DDC-2459]ANSI compliant quote strategy
2013-06-23 14:26:49 -07:00
Fabio B. Silva
1cff8b4d98
Fix DDC-2519
2013-06-21 16:07:09 -04:00
Fabio B. Silva
a165f63c8c
ANSI compliant quote strategy
2013-06-21 16:05:59 -04:00
Sander Marechal
70427871ce
Extra test for indexBy identifier versus indexBy other fields
2013-06-20 14:20:00 +02:00
Sander Marechal
3b92cfac5a
Use find() if the indexBy field is the identifier
2013-06-20 13:45:38 +02:00
Sander Marechal
647c5e2cad
Test actual data returned by get()
2013-06-20 10:18:08 +02:00
Sander Marechal
3555007f08
Return NULL for non-existent keys
...
The load() function already returns just one entity or NULL, so
the current() is not needed and the result can be returned directly.
2013-06-20 10:09:52 +02:00
Sander Marechal
523697d0b6
[DDC-1398] Extra-lazy get for indexed associations
...
If an association is EXTRA_LAZY and has an indexBy, then
you can call get() without loading the entire collection.
2013-06-20 09:29:56 +02:00
Guilherme Blanco
7903a2b513
Merge pull request #695 from doctrine/RepositoryFactory
...
Implemented support for RepositoryFactory.
2013-06-14 09:19:43 -07:00
Guilherme Blanco
7eb744126b
Implemented support for RepositoryFactory.
2013-06-13 21:47:40 -04:00
Fabio B. Silva
f16c8e3efe
Fix DDC-2478
2013-06-13 16:44:02 -04:00
Guilherme Blanco
6ef48561ba
Merge pull request #688 from sellingsource/master
...
Implement QuoteStrategy on SqlWalker walkRangeVariableDeclaration
2013-06-12 12:03:24 -07:00
Marco Pivetta
a1355d0bb9
Adding failing test for DDC-2214
...
Parameters being bound to an SQL query should have the same type as
the identifier of the objects being bound to the placeholders of a
DQL query - this is currently broken with proxies, as this test
demonstrates.
2013-06-12 20:51:45 +02:00
Fabio B. Silva
d961028b14
small optimization
2013-06-12 10:30:51 -04:00
Fabio B. Silva
d685f592fe
Fix DDC-2494
2013-06-12 10:30:51 -04:00
Guilherme Blanco
b15758bb42
DDC-2476 Commented check under PostgreSQL.
2013-06-12 02:29:08 -04:00
Guilherme Blanco
3d86c82a7f
DDC-2476 Better approach for reverse engineer. Some refactoring done to driver.
2013-06-12 02:00:36 -04:00
Dustin Thomson
ed7a4bdcf3
Fix typo in test name
2013-06-11 18:38:05 -06:00
Dustin Thomson
529064aff2
Modified identity function to work with joined inheritance tables.
...
Added regression tests
2013-06-11 18:09:49 -06:00
Guilherme Blanco
4e99c5c127
DDC-1858 Added coverage to ticket. Functionality already implemented.
2013-06-11 01:21:47 -04:00
Fabio B. Silva
710d0d1109
Fix DDC-1995
2013-06-07 17:24:05 -04:00
John Brown
9bea612d74
Adding simple test to ensure quoting of table names still functions. Note: the funtionality of this change won't be noticiable unless a custom quote strategy is implemented
2013-06-06 15:51:23 -07:00
Fabio B. Silva
27511374ec
Fix DDC-2475
2013-06-04 23:50:43 -04:00
Alexander
66a842c143
[DDC-2471] Fix EQ/NEQ null handling of criteria
2013-05-26 09:04:19 +02:00
Benjamin Eberlei
6548947df5
Merge pull request #666 from FabioBatSilva/DDC-2429
...
[DDC-2429] Fix xsd definition
2013-05-25 23:01:13 -07:00