HermanPeeren
128e83909b
Update working-with-associations.rst
...
removed some spaces that had come into it while editing last commit
2014-02-06 16:09:27 +01:00
HermanPeeren
9c19d1e5c4
Update working-with-associations.rst
...
There are 2 many-to-many associations between the users and comments. Both use another join-table. The join-tables user_favorite_comments and user_read_comments must be specified. Otherwise the default "user_comment" is taken twice. See https://groups.google.com/forum/#!topic/doctrine-user/Kti36_n6490 and https://groups.google.com/forum/#!topic/doctrine-user/TYwafhgYiSU
2014-02-06 15:59:56 +01:00
Asmir Mustafic
1d40c85c3c
Right owning side column selection
2014-02-06 14:26:06 +01:00
shustrik
6fe40b055f
fix return walker
2014-02-06 16:18:35 +03:00
shustrik
a6b43b93ac
fix TreeWalkerChain.
...
Create walker object in foreach.
2014-02-06 16:06:00 +03:00
Asmir Mustafic
2eb428df79
code style
2014-02-06 12:55:33 +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
Benjamin Eberlei
626efdafd4
Delete old phing build leftover.
2014-02-04 08:49:08 +01:00
Benjamin Eberlei
9653213914
Add warning about non scalar use in Criteria.
2014-02-04 00:02:09 +01:00
Tim Lieberman
25d71462e3
Make SchemaTool and SchemaValidator use EntityManagerInterface instead of EntityManager
2014-02-01 05:11:20 +00:00
Marco Pivetta
e322ab4deb
DDC-2931 - Removing previous broken fix for DDC-2931 - hardened
2014-02-01 02:00:10 +01:00
Marco Pivetta
7a32eca039
DDC-2931 - Safe comparison between proxies and entities when refreshing objects
2014-02-01 01:57:51 +01:00
Tim Lieberman
bf9fbd896b
Substitute EntityManagerInterface for EntityManager in Console EntityManagerHelper
2014-02-01 00:23:23 +00: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
Tim Lieberman
43d94e7b5e
Console EntityManagerHelper now accepts EntityManagerInterface as constructor argument, instead of insisting on an EntityManager
2014-01-31 15:32:31 -08: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
Fabio B. Silva
9b7e949025
Merge pull request #915 from mnapoli/patch-1
...
Improved DQL's "new" operator documentation
2014-01-25 08:36:54 -08:00
Marco Pivetta
b815a4b2d3
DDC-2931 - removing old comments
2014-01-24 02:52:30 +01:00
Marco Pivetta
596d2070ed
DDC-2931 - Removing refresh hints when fetching association data in hydrators
2014-01-24 02:45:28 +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
Matthieu Napoli
30c3eb0465
Improved DQL's "new" operator documentation
2014-01-21 17:34:54 +01:00
Matthieu Napoli
330c66559c
Improved DQL's "new" operator documentation
...
I had to dig through the pull requests and issues to figure that out, so I believe it's best documented explicitly.
2014-01-21 10:54:13 +01:00
Strate
04e6061584
Added an exception when invalid case.
...
Fixes after code review.
2014-01-20 20:06:53 +04:00
Benjamin Eberlei
bba5ec27fb
Remove badges
2014-01-20 09:36:15 +01:00
Marco Pivetta
a83f5df47c
Merge pull request #913 from WouterJ/patch-1
...
Added exception class names
2014-01-19 22:02:34 -08:00
Marco Pivetta
0e5146b06b
Merge pull request #914 from liuggio/patch-2
...
added license badge
2014-01-19 21:36:50 -08: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
Strate
b69481b639
Merge branch 'master' into bugfix/join-with-condition-placement-fix
2014-01-19 15:06:01 +04:00
Giulio De Donato
65f002d62c
added license badge
2014-01-18 23:44:44 +01:00
Wouter J
996499e6fc
Added exception class names
2014-01-18 11:09:22 +01: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
cf43edd6a1
Merge pull request #911 from goatherd/fix-foreach-as-style
...
fix foreach coding style
2014-01-14 14:50:33 -08:00
goatherd
a485e791bb
fix foreach coding style
2014-01-14 23:44:38 +01:00
Benjamin Eberlei
b0736b5b6c
Merge pull request #909 from deeky666/fix-sqlserver-database-driver-test
...
Fix DatabaseDriverTest on SQL Server
2014-01-13 09:52:17 -08: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
b863b9b957
Fix some code standard things
2014-01-12 17:14:32 -06:00
Marco Pivetta
771da768ac
Merge pull request #906 from KevinBrogan/master
...
removed erroneous tip
2014-01-12 08:10:20 -08:00
Benjamin Eberlei
12556e2dfe
Add MyISAM limitation
2014-01-12 11:33:37 +01:00
Kevin Brogan
5989c0cb54
removed erroneous tip
...
I'm working through the tutorial myself and got to this point.
Don’t forget to add a require_once call for this class to the bootstrap.php
This advice is wrong. The class is located in the src directory and so is autoloaded when required. No require statement is necessary.
2014-01-10 20:28:41 -08: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
Geoffrey Wagner
db31c58102
Fix Lifecycle Callbacks
...
Remove a bit of code that breaks lifecycle callbacks of parent MappedSuperclasses
2014-01-08 17:17:47 -06:00