Benjamin Eberlei
105d9e998b
Merge pull request #927 from timdev/timdev-fixes
...
s/EntityManager/EntityManagerInterface/ in a few places
2014-02-08 15:30:15 +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 Eberlei
0c2c5006f8
Merge pull request #934 from shustrik/master
...
faild test with multiple HINT_CUSTOM_TREE_WALKERS
2014-02-08 14:34:35 +01:00
shustrik
b167a64544
remove doc
2014-02-06 20:08:07 +03:00
shustrik
12985b7811
add iterator to tree walker chain
2014-02-06 19:39:40 +03:00
Marco Pivetta
7ceb9b0b50
Merge pull request #938 from HermanPeeren/master
...
Missing join-tables added in example
2014-02-06 16:31:17 +01:00
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
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
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
Tim Lieberman
bf9fbd896b
Substitute EntityManagerInterface for EntityManager in Console EntityManagerHelper
2014-02-01 00:23:23 +00: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
9b7e949025
Merge pull request #915 from mnapoli/patch-1
...
Improved DQL's "new" operator documentation
2014-01-25 08:36:54 -08: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
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
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
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
Benjamin Eberlei
93c1106735
Merge pull request #901 from deeky666/disable-travis-hhvm-unsupported-drivers
...
Exclude HHVM + PostgreSQL and HHVM + Mysqli from travis build matrix
2014-01-08 11:22:29 -08:00
Steve Müller
f4c30dcd1c
exclude unsupported HHVM + PostgreSQL and HHVM + Mysqli from travis build matrix for now
2014-01-08 20:19:10 +01:00
Guilherme Blanco
4e824ac6e1
Merge pull request #900 from deeky666/fix-connection-mock
...
Fix connection mock fetchColumn signature
2014-01-06 12:27:50 -08:00
Steve Müller
5f93c83059
fix connection mock fetchColumn signature
2014-01-06 21:24:01 +01:00
Guilherme Blanco
b65d9e6c83
Merge pull request #896 from holtkamp/patch-2
...
Ensure <cascade/> elements preceed <join-columns/>
2014-01-05 11:32:31 -08:00
Guilherme Blanco
7f30c31e98
Merge pull request #897 from holtkamp/patch-3
...
Respected 'inheritanceType' at Entity level
2014-01-05 11:31:25 -08:00
Menno Holtkamp
fc2b9980ae
Exclude exporting inheritanceType for INHERITANCE_TYPE_NONE
2014-01-05 18:53:31 +01:00
Menno Holtkamp
797fb9c34a
Respected 'inheritanceType' at Entity level
...
It was (incorrectly) fetched from Table-level.
http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/annotations-reference.html#annref-inheritancetype
2014-01-05 18:41:55 +01:00
Menno Holtkamp
85a16f9f28
Ensure <cascade/> elements preceed <join-columns/>
...
When converting annotations based metadata to XML, the position of the <cascade/> elements resulted in XSD validation errors caused by the definitions of the association ComplexTypes:
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L463
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L482
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L495
- https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L517
Since changing the XSD might result in validation problems in existing mappings, changing the XmlExporter seems a better approach.
Note that the '<cache/>' element is not yet generated by the XmlExporter, but according to the XML Schema, it should precede the '<cascade/>' element.
2014-01-05 15:34:59 +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
8de37de4f7
Merge branch 'DDC-2792'
2014-01-03 23:01:12 +01:00
Benjamin Eberlei
2a9351b8dc
[DDC-2792] Fix fatals
2014-01-03 23:01:05 +01:00
Vyacheslav Ganzin
1edf6b65b1
joinColumn is not required in manyToMany
...
annotation behavior copied
2014-01-03 22:27:27 +01:00
Benjamin Eberlei
c8c7cf0528
Fix tests after merge of QueryBuilder#addCriteria changes.
2014-01-03 21:28:06 +01:00
Steve Müller
5828e4c67c
Merge pull request #894 from piotrantosik/patch-2
...
Fix typos - QueryBuilder
2014-01-03 09:23:48 -08:00