dantleech
45ce6a41a3
Expanded scope of orm:info to include metadata information
2014-10-19 17:40:50 +02:00
Marco Pivetta
a9bd51c0e4
Merge branch 'hotfix/#615-enforce-A-to-Z-sql-table-aliases'
...
Close #615
2014-10-19 17:25:09 +02:00
Marco Pivetta
b989175754
#615 - Removing unused assignment
2014-10-19 17:24:07 +02:00
Marco Pivetta
264cd8ee11
#615 - Refactoring test case to remove duplication
2014-10-19 17:21:13 +02:00
Marco Pivetta
69494dc624
#615 - sql table aliases should stay constant over time
2014-10-19 17:18:30 +02:00
Marco Pivetta
10da2eb85b
#615 - Using a data provider to build aliases for the SqlWalkerTest
2014-10-19 17:16:07 +02:00
Marco Pivetta
17c9388473
#615 - Test coverage annotations
2014-10-19 17:10:39 +02:00
Marco Pivetta
435befd25c
#615 - EOF EOL fixes
2014-10-19 17:09:41 +02:00
Marco Pivetta
d557a0e01b
#615 - assignment alignment
2014-10-19 17:09:27 +02:00
Marco Pivetta
a4e9c235f8
#615 - assignment alignment
2014-10-19 17:08:33 +02:00
Mike Meier
109b0444f5
add SqlWalkerTest for getSQLTableAlias method
2014-10-19 17:05:34 +02:00
Mike Meier
fb5f76f025
rewrite tablePrefixAlias
2014-10-19 17:05:34 +02:00
Mike Meier
ebc996c820
Update SqlWalker.php
...
Always be sure that only a-z characters are used for table alias, otherwise use generic "t" for "table"
2014-10-19 17:05:34 +02:00
Steve Müller
06b5c84728
Merge pull request #1160 from Ocramius/hotfix/#1159-multiple-entity-managers-per-repository-factory
...
#1159 - multiple entity managers per repository factory should be supported
2014-10-19 14:58:04 +02:00
Marco Pivetta
0f26c62e73
Merge pull request #1143 from MajorCaiger/master
...
Fixed a bug so that a versioned entity with a oneToOne id can be created
2014-10-19 11:52:37 +02:00
Marco Pivetta
d361ed904e
Merge pull request #1164 from AlphaStream/fix-querybuilder-on-hhvm
...
[QueryBuilder] Remove unused method parameters to run on HHVM/PHP7
2014-10-19 10:56:32 +02:00
Marco Pivetta
697640f561
Setting default timezone, as HHVM is misconfigured on travis-ci
2014-10-19 10:54:35 +02:00
Alex Bakhturin
b33c9befb7
[QueryBuilder] Remove unused method parameters that are shadowed by local variables
...
PHP5 treats the left part of such assignment as an independent local variable, while HHVM treats it as a reference to the method parameter. This leads to the value of the parameter being changed, which, in turn, causes func_get_args() to return not what is expected.
This commit is a part of the effort to make Symfony run flawlessly on HHVM. This issue causes a bunch of Symfony tests to fail on HHVM.
2014-10-17 11:17:33 -07:00
Marco Pivetta
f5ecabbc21
Merge pull request #1163 from taavit/patch-1
...
Update xml-mapping.rst
2014-10-17 00:13:28 +02:00
Dawid Królak
143f87960e
Update xml-mapping.rst
...
Fixed closing entity tag.
2014-10-17 00:11:56 +02:00
Marco Pivetta
35d4405727
Merge pull request #1161 from gammamatrix/patch-1
...
Fixing error with from() parameters in example
2014-10-14 13:18:27 +02:00
Jeremy Postlethwaite
abe97bf0df
Fixing error with from() parameters in example
...
The from method requires $from and the $alias to be separate parameters.
public function from($from, $alias, $indexBy = null);
The examples show: from('User u')
2014-10-13 20:37:19 -07:00
Marco Pivetta
f28fa2d3a1
#1159 - EOF EOL CS fixes for Doctrine\ORM\Repository\DefaultRepositoryFactory
tests
2014-10-14 01:49:57 +02:00
Marco Pivetta
b61496a36b
#1159 - adding UPGRADE.md
notes for Doctrine\ORM\Repository\DefaultRepositoryFactory
becoming final
2014-10-14 01:48:25 +02:00
Marco Pivetta
8093c6ddb0
#1159 - protecting Doctrine\ORM\Repository\DefaultRepositoryFactory
API by making it final
and its protected
members private
2014-10-14 01:46:50 +02:00
Marco Pivetta
a9847533e5
#1159 - Doctrine\ORM\Repository\DefaultRepositoryFactory
keeps separate caches per entity manager used to build repositories
2014-10-14 01:46:14 +02:00
Marco Pivetta
56378b9bf0
#1159 - optimized imports
2014-10-14 01:40:38 +02:00
Marco Pivetta
7142c9029c
#1159 - Doctrine\ORM\Repository\DefaultRepositoryFactory
should create different repositories for different entity managers
2014-10-14 01:40:19 +02:00
Marco Pivetta
9ef3285ebb
#1159 - verifying that Doctrine\ORM\Repository\DefaultRepositoryFactory
considers custom repository class from metadata when instantiating repositories
2014-10-14 01:35:51 +02:00
Marco Pivetta
1e467fd23c
#1159 - verifying that Doctrine\ORM\Repository\DefaultRepositoryFactory
caches instantiated repositories locally
2014-10-14 01:32:04 +02:00
Marco Pivetta
5adce9a1e3
#1159 - base coverage for the Doctrine\ORM\Repository\DefaultRepositoryFactory
implementation
2014-10-14 01:29:45 +02:00
Marco Pivetta
3ca0dae606
Merge pull request #1156 from NAYZO/patch-1
...
Fixed missed initialization in CommitOrderCalculator.php
2014-10-13 02:36:00 +02:00
Marco Pivetta
1e6ca40ffa
Merge pull request #1157 from gennadiylitvinyuk/patch-1
...
Fixing calls of schema-update tools
2014-10-13 02:32:42 +02:00
Marco Pivetta
1d8ef5ed18
Merge pull request #1158 from josemalonsom/update-query-builder-ref-doc
...
Update QueryBuilder reference documentation.
2014-10-13 02:26:42 +02:00
Jose M. Alonso M
82887d0361
Update QueryBuilder reference documentation.
...
- Updated the signature of methods "from", "innerJoin" and "leftJoin"
since it does not match the actual implementation.
- Added reference to the "join" method.
2014-10-12 20:31:33 +02:00
Gennadiy Litvinyuk
83cd44697d
Fixing calls of schema-update tools
...
composer-generated binaries should be called without php interpreter.
Added reminder to update schema.
2014-10-12 17:50:47 +02:00
Ala Eddine Khefifi
f2bdfe102e
Fixed missed initialization in CommitOrderCalculator.php
2014-10-12 14:04:41 +01:00
Marco Pivetta
10b801dec0
Adding note about a minor BC break: d2 does not call __clone
on new objects anymore.
2014-10-06 14:57:03 +02:00
Christian Schmidt
94f5f53d2a
Allow orderBy to reference associations
2014-10-05 10:16:58 +02:00
Marco Pivetta
0bff6aadbc
Merge pull request #1147 from naitsirch/master
...
Extended the docs for mapping attributes precision and scale
2014-10-03 00:50:00 +02:00
Rob Caiger
dd398ce577
- Fixed the basic entity persister so that versioned OneToOne entities can be created
...
- Created an IdentifierFlattener utility class
- Moved the logic for the flatten identifier method into the new utility class
- Replaced calls for private flattenIdentifier to use new utility
- Added appropriate unit tests
2014-10-01 14:01:44 +01:00
Steve Müller
05045d9544
Merge pull request #1148 from naitsirch/hotfix/DWEB-118
...
[DWEB-118] Fixed small typo in documentation about extra lazy associations
2014-09-27 18:19:53 +02:00
naitsirch
547a902bd3
Fixed small typo in documentation about extra lazy associations #DWEB-118
2014-09-26 19:49:12 +02:00
Christian Stoller
d93f648230
Extended the docs for mapping attributes precision and scale
2014-09-25 09:38:34 +02:00
Marco Pivetta
3f8865c6fb
Merge pull request #1092 from birko/pagination-count-walker
...
[DDC-2794] Arbitrary Join count walkers solution
2014-09-23 00:30:30 +02:00
Marco Pivetta
15a00ea807
Clearing cache by --id
, --regex
, --prefix
and --suffix
is not supported anymore.
2014-09-14 17:30:47 +02:00
Marco Pivetta
f12c311a79
Merge pull request #1135 from deeky666/DDC-3304
...
[DDC-3304] Add support for embeddables in entity generator
2014-09-12 21:54:45 +02:00
Steve Müller
b291d8d589
add support for embeddables in entity generator
2014-09-12 20:29:37 +02:00
Steve Müller
b249aa9f65
Merge pull request #1132 from Ocramius/hotfix/DDC-3272-entity-generator-mapped-superclass-casing
...
DDC-3272 entity generator mapped superclass casing
2014-09-10 18:27:51 +02:00
Marco Pivetta
4974edc70a
DDC-3272 - fixing issue with mapped superclass name, minor refactoring
2014-09-10 17:00:06 +02:00