Asmir Mustafic
4a6d6e34f8
Test empty collections second level cache
2014-02-11 17:39:16 +01:00
Strate
324f200f1b
Merge branch 'master' into bugfix/join-with-condition-placement-fix
2014-02-10 08:22:11 +04:00
Benjamin Eberlei
53a5a48aed
[DDC-2624] Fix bug when persistent collection is cloned and used in a new entity.
2014-02-09 14:27:42 +01:00
Jan Kramer
43e37d4f2f
Throw exception on embeddables in embeddables.
2014-02-09 10:09:28 +01:00
Benjamin Eberlei
1a08b52ab4
Cleanup test output.
2014-02-08 17:00:21 +01:00
Benjamin Eberlei
50ba19d91b
Merge pull request #937 from goetas/contains-key
...
Extra-lazy for containsKey on collections
2014-02-08 16:28:44 +01:00
Benjamin Eberlei
8a0901c92b
Merge pull request #835 from schmittjoh/ValueObjects
...
Value objects (Based on #634 )
2014-02-08 16:24:47 +01:00
Benjamin Eberlei
8e3f4561c0
Merge pull request #858 from schmittjoh/rsmBuilder
...
lifts an unnecessary restriction on ResultSetMappingBuilder
2014-02-08 16:23:18 +01:00
Benjamin Eberlei
058e024f0e
Merge pull request #902 from gwagner/master
...
Fix Lifecycle Callbacks
2014-02-08 16:01:13 +01:00
Benjamin Eberlei
31a2870c3f
Merge pull request #912 from BenMorel/collection-count
...
Avoid PersistentCollection::isEmpty() to fully load the collection.
2014-02-08 16:00:10 +01:00
Benjamin Eberlei
960fbfc110
Merge pull request #908 from FabioBatSilva/DDC-2862
...
[DDC-2862][SLC] Fix lazy association load
2014-02-08 15:55:20 +01:00
Benjamin Eberlei
b76e95cbb9
Merge pull request #917 from doctrine/hotfix/DDC-2931
...
DDC-2931 - one-to-one self-referencing association broken by DCOM-96
2014-02-08 15:46:07 +01:00
Benjamin Eberlei
f07c576e5f
Merge pull request #932 from deeky666/DDC-2919
...
[DDC-2919] Make lock mode usage consistent
2014-02-08 15:27:35 +01:00
Benjamin Morel
496f9a0176
Avoid PersistentCollection::isEmpty() to fully load the collection on extra lazy fetch.
2014-02-08 13:49:48 +00:00
Asmir Mustafic
5475d616e3
more tests
2014-02-07 14:30:17 +01:00
Asmir Mustafic
724e69146c
typos and removed confusing ternary
2014-02-06 12:44:13 +01:00
Asmir Mustafic
557686aa0a
Entra-lazy for containsKey on collections
2014-02-06 12:27:12 +01:00
Ilya Pleshakov
1f3290faae
Remove incorrect (outdated) validation for public fields in SchemaValidator
2014-02-06 13:02:41 +04:00
shustrik
543ab500da
rename test
2014-02-06 10:53:34 +03:00
shustrik
7107a85041
faild test with multiple HINT_CUSTOM_TREE_WALKERS
...
failed test when we have more than 1 walker HINT_CUSTOM_TREE_WALKERS ,
because walkSelectStatement in TreeWalkerChain saves the last hint _queryComponents result.
2014-02-06 01:27:17 +03:00
Steve Müller
a6c8ab8a5f
make lock mode usage consistent
2014-02-05 15:13:53 +01:00
Marco Pivetta
8c92e0f19f
DDC-2931 - adding test that verifies that fetch-joined entities get refreshed with hints
2014-02-01 01:05:34 +01:00
Benjamin Eberlei
310afdf5d7
Merge pull request #910 from deeky666/DDC-2310
...
[DDC-2310] [DDC-2675] Fix SQL generation on table lock hint capable platforms
2014-01-31 11:33:30 -08:00
Fabio B. Silva
7e5a1c6b0d
Fix lazy association load
2014-01-28 12:26:10 -05:00
Marco Pivetta
b815a4b2d3
DDC-2931 - removing old comments
2014-01-24 02:52:30 +01:00
Marco Pivetta
9eafb11a02
DDC-2931 - Detailed explanation
2014-01-24 02:43:14 +01:00
Marco Pivetta
22bcfef523
DDC-2931 - cleaning up code formatting/simplifying test case
2014-01-23 20:19:36 +01:00
root
fabef48ca2
[DDC-2931] testcase to reproduce Jira 2931
2014-01-23 17:31:08 +00:00
Strate
41ec5fd56d
Fix applying ON/WITH conditions to first join in Class Table Inheritance
...
Now we build nested joins for CTI when using ON/WITH clause.
2014-01-19 20:56:24 +04:00
Steve Müller
b9ff877f14
fix SQL generation on table lock hint capable platforms
2014-01-15 22:46:09 +01:00
Steve Müller
3eced21a01
add missing use statement for SQL Server testsuite to work
2014-01-13 15:57:18 +01:00
Geoffrey Wagner
e9739f8591
Fix some code standard things
2014-01-09 10:48:38 -06:00
Geoffrey Wagner
4772cbfae6
Add a test
...
addLifecycleCallback now only allows a callback once so we do not hook them twice
2014-01-08 20:58:50 -06:00
Steve Müller
5f93c83059
fix connection mock fetchColumn signature
2014-01-06 21:24:01 +01:00
Johannes Schmitt
7020f4135f
skips DQL UPDATE/DELETE tests with SLC enabled
2014-01-04 18:32:06 +01:00
Johannes Schmitt
87b4155665
adds test for ResultSetMappingBuilder restriction
2014-01-04 18:06:16 +01:00
Johannes Schmitt
4f585a3d63
Merge branch 'master' of github.com:doctrine/doctrine2 into ValueObjects
...
Conflicts:
UPGRADE.md
lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php
2014-01-04 17:52:32 +01:00
Benjamin Eberlei
69cad4079d
Merge pull request #820 from apancutt/master
...
Added support for field options to FieldBuilder
2014-01-03 14:03:25 -08:00
Benjamin Eberlei
c8c7cf0528
Fix tests after merge of QueryBuilder#addCriteria changes.
2014-01-03 21:28:06 +01:00
Adam Pancutt
352f5394e5
Removed FieldBuilder::unsigned() method as it is only supported by MySQL
2014-01-03 09:48:38 +00:00
Benjamin Eberlei
22d4d2e812
Merge branch 'DDC-2700'
2014-01-02 23:50:21 +01:00
Benjamin Eberlei
53ed898684
[DDC-2700] Add test and fix CS.
2014-01-02 23:50:15 +01:00
Benjamin Eberlei
2feffe164a
Merge branch 'DDC-2732'
2014-01-02 23:33:56 +01:00
Benjamin Eberlei
b1e031a1b4
[DDC-2732] Add tests for XML id options fix.
2014-01-02 23:33:49 +01:00
Benjamin Eberlei
96ec3c1613
Merge pull request #830 from sandermarechal/sort-alias
...
[DDC-2764] Prefix criteria orderBy with rootAlias
2014-01-02 14:15:01 -08:00
Benjamin Eberlei
e91ed74b25
[DDC-2775] cleanup test.
2014-01-02 23:11:35 +01:00
Benjamin Eberlei
17809abd29
Merge pull request #837 from mnapoli/DDC2775
...
DDC-2775 Tests and fix
2014-01-02 14:07:14 -08:00
Benjamin Eberlei
ea84cfbdd1
Merge pull request #845 from flack/avoid-update-on-delete
...
Don't compute changeset for entities that are going to be deleted
2014-01-02 13:59:25 -08:00
Benjamin Eberlei
7a4a46a95c
[GH-855] fix CS
2014-01-02 22:50:36 +01:00
ptarjan
27c9074b71
don't rely on gc_collect_cycles for HHVM
2014-01-02 22:50:36 +01:00
Benjamin Eberlei
3a8aaea14a
Merge pull request #794 from stefankleff/patch-1
...
Multiple invokation of listeners on PreFlush event
2014-01-02 13:16:21 -08:00
yktd26
c9e06a6854
Format code
2013-12-31 12:25:14 +01:00
yktd26
bee74f898d
autoGenerate arg from bool to int
...
For using all four modes of proxies generation, change the 4th arg of
ProxyFactory's constructor to integer
2013-12-31 11:58:36 +01:00
Steve Müller
337857dc8a
add general IDENTITY generator type support for sequence emulating platforms
2013-12-29 05:55:16 +01:00
Matthieu Napoli
c9791fe97f
Inlined the model for the DCC2775 test case inside the test class
2013-12-23 09:55:10 +01:00
fabios
cf4c805427
Fix cache misses using one-to-one inverse side
2013-12-20 15:37:07 -05:00
fabios
22e3a76327
Fix non initialized association proxy
2013-12-20 10:39:03 -05:00
Michaël Perrin
1032a16db2
Simpler way to handle Collection parameters in DQL queries (refs #DDC-2319)
2013-12-17 11:37:17 +01:00
fabios
4e0e1b8061
CS/Typo Fixes
2013-12-16 15:55:54 -05:00
fabios
0a66a2bc09
CS/Doc Fixes
2013-12-16 11:05:05 -05:00
fabios
71903c28a8
Region cache clear commands
2013-12-16 11:05:05 -05:00
fabios
fb98277783
Fix docs
2013-12-16 11:05:05 -05:00
fabios
d135e402bb
handle update/delete queries
2013-12-16 11:05:05 -05:00
Fabio B. Silva
61bff7d5f6
Fix CS and update docs
2013-12-16 11:05:04 -05:00
Fabio B. Silva
1438a59c00
Fix persister query cache invalidation
2013-12-16 11:05:04 -05:00
fabios
1bfa8f0fc3
Extract cache config
2013-12-16 11:05:04 -05:00
Fabio B. Silva
3140593e9b
Second level cache
2013-12-16 11:05:04 -05:00
Benjamin Eberlei
86ae6f18ab
Merge branch 'DDC-2645'
2013-12-15 23:31:49 +01:00
Matthieu Napoli
602c3be3fc
Cleaned up tests for DDC-2775
2013-12-14 19:57:53 +01:00
Aaron Muylaert
aa5df1dbac
Create failing test for DDC-2645.
...
Merge not dealing correctly with composite primary keys.
2013-12-14 15:59:10 +01:00
Marco Pivetta
6f1642b35d
Merge pull request #877 from aaronmu/DDC-1787
...
Hotfix for DDC-1787
2013-12-14 06:22:20 -08:00
Marco Pivetta
bd4d27eabf
Merge pull request #842 from TheFrozenFire/tests/query-tests
...
Added EntityManager query creation tests
2013-12-14 05:26:46 -08:00
Marco Pivetta
d20b136270
Adding tests to verify that dql aliases in criteria are correctly converted
2013-12-14 13:42:18 +01:00
Marco Pivetta
72e6de9417
Adding tests that confirm that DDC-2844 is fixed
2013-12-14 13:42:18 +01:00
Aaron Muylaert
600af3e617
Add failing test for DDC-1787.
...
Using joined table inheritance, when persisting multiple new entities
that are subclasses of a baseclass that has the @Version attribute set,
only the last persisted entity will have it's version set.
2013-12-14 13:24:47 +01:00
Jan Kramer
fbb7b5ad8e
Fix XmlDriver to accept embeddables
2013-12-07 16:40:54 +01:00
Jan Kramer
928c32d616
Update XML schema to reflect addition of embeddables
2013-12-07 16:38:32 +01:00
Guilherme Blanco
0e3c57dbd3
Merge pull request #849 from bsahlhof/master
...
Error with Same Field, Multiple Values, Criteria and QueryBuilder
2013-11-25 21:20:14 -08:00
Guilherme Blanco
c460344994
Merge pull request #850 from FabioBatSilva/attach-entity-listeners
...
Event listener to programmatically attach entity listeners.
2013-11-25 08:21:36 -08:00
Steve Müller
75d7ac2783
Merge pull request #854 from ptarjan/master
...
fix relative path to doctrine/common
2013-11-23 05:14:44 -08:00
ptarjan
1fe8ff756e
Fix dependency for tests/Doctrine/Tests/ORM/Functional/ReferenceProxyTest.php
2013-11-22 01:15:13 -08:00
ptarjan
a8ad9069c9
fix relative path to doctrine/common
2013-11-21 20:38:39 -08:00
fabios
e69cd37226
Event listener to programmatically attach entity listeners.
2013-11-18 15:03:00 -05:00
Brad Sahlhoff
c2997b3961
Add ability to test same parameter name for multiple values.
2013-11-18 10:36:46 -05:00
flack
88ae5883f3
Add testcase
2013-11-17 11:51:09 +01:00
Benjamin Eberlei
2925fea7bd
Make tests forward compatible with DBAL 2.5
2013-11-14 12:36:52 +01:00
Justin Martin
8b4b8e7268
Test EntityManager::createNamedQuery.
...
Test EntityManager::createNamedNativeQuery.
2013-11-06 20:07:48 -08:00
Matthieu Napoli
1899bcf000
Fixed tests failing in pgsql because of used of a reserved keyword
2013-11-04 16:01:05 +01:00
Matthieu Napoli
791ec3bc6e
Fixed tests for pgsql: was using reserved keyword as table name
2013-11-04 12:53:18 +01:00
Matthieu Napoli
8bd54be4ec
[DDC-2775] Tests reproducing DDC-2775
2013-11-04 12:40:51 +01:00
Johannes M. Schmitt
5586ddd6b7
removes restrictions on constructors of embedded objects
2013-11-02 13:31:44 +01:00
Johannes M. Schmitt
ece62d6ad7
adds support & tests for embeddables in inheritance schemes
2013-11-02 13:23:56 +01:00
Johannes M. Schmitt
4f6c15099a
fixes coding style
2013-11-01 21:47:56 +01:00
Johannes M. Schmitt
41c937b983
adds test for non-existent field
2013-11-01 20:54:45 +01:00
Johannes M. Schmitt
30897c3115
adds tests for update/delete DQL queries
2013-11-01 20:46:08 +01:00
Johannes M. Schmitt
c67ac8a11b
adds support for selecting based on embedded fields
2013-11-01 20:38:19 +01:00
Johannes M. Schmitt
38b041d909
Merge remote-tracking branch 'origin/ValueObjects'
...
Conflicts:
lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php
2013-11-01 20:17:43 +01:00
Sander Marechal
35a62e9a05
Add rootAlias to Criteria where clauses
2013-11-01 13:43:03 +01:00
Sander Marechal
202039e853
Set rootAlias outside loop
2013-11-01 13:19:33 +01:00
Sander Marechal
b6f8d53ff1
[DDC-2764] Prefix criteria orderBy with rootAlias
2013-10-29 11:11:46 +01:00