Guilherme Blanco
b784a04cf7
Fixed only variables should be passed by reference issue
2016-02-16 04:46:34 +00:00
Guilherme Blanco
86cde3a9df
Fixed #5605
2016-02-16 03:21:53 +00:00
Guilherme Blanco
d814ad7234
Merge pull request #5668 from petitchevalroux/many-to-many-criteria-fixes
...
Many to many criteria fixes
2016-02-15 21:07:17 -05:00
jeroendedauw
34dbefaf22
Add missing @throws tags
2016-02-15 15:15:32 +01:00
Jeremy Giberson
dd3f67d862
updated manytomany so it maps field names to column names in criteria ordering
2016-02-11 13:39:31 -07:00
Jeremy Giberson
ae785757a1
Merge branch 'fix-many-many-criteria' of github.com:petitchevalroux/doctrine2 into many-to-many-criteria-fixes
...
Conflicts:
lib/Doctrine/ORM/Persisters/Collection/ManyToManyPersister.php
2016-02-10 20:04:48 -07:00
Jeremy Giberson
0adeade045
merged git@github.com:SammyK/doctrine2.git:many-to-many-order-by-fix
2016-02-10 19:52:03 -07:00
Jeremy Giberson
f0accca99d
Merge branch 'DDC-3719-fix' of github.com:jeanCarloMachado/doctrine2 into many-to-many-criteria-fixes
2016-02-10 19:40:45 -07:00
Patrick Poulain
cfeda903e3
Fix many-to-many matching ignoring offset/limit
2016-02-05 11:14:47 +01:00
Bill Schaller
744c308337
Remove dead code SQLWalker::walkCaseExpression
2016-01-08 13:58:02 -05:00
Bill Schaller
55d4f515af
Fix issue were identifier operands in /,* arithmetic terms were not checked to see if they're query components
2016-01-08 12:53:05 -05:00
Steve Müller
f9217cf6f2
fix documentation of schema tool's "save mode"
...
fixes #5596
2016-01-08 15:37:19 +01:00
Steve Müller
1697293591
Merge pull request #1563 from rawkode/bugfix/incorrect-rollback-method-name
...
Fixing method name 'rollBack', which was documented as 'rollback'
2016-01-06 11:49:32 +01:00
Bill Schaller
8bde0c8a90
Fix AnnotationDriver, XmlDriver, YamlDriver to properly set DiscriminatorColumn defaults for type and length.
...
Note: Even though the column definition generated for a discriminator column
would eventually default the type to string and length to 255, the docs specify
defaults that should be reflected explicitly in the discriminatorColumn mapping.
2016-01-05 12:32:25 -05:00
Jefersson Nathan
156075682f
Remove unnecessary namespaces imports and usage
2015-12-16 05:45:55 -03:00
oprokidnev
e390dbd5ba
Target entity resolver for DQL
...
Since we have target entity resolver in doctrine this class check is not enought.
To gain interface resolution it is better to add interface check in addition to class_check here.
2015-12-11 21:33:59 +01:00
Marco Pivetta
044b202379
Simplifying getColumnNames
logic (can be an array_map
call)
2015-12-11 20:50:18 +01:00
Jeroen Thora
6dcb97a20e
Fixed many small phpcs issues
2015-12-11 20:30:41 +01:00
Marco Pivetta
3971e8c55b
Merge branch 'hotfix/#1573-merge-associated-versioned-entity'
...
Close #1573
2015-12-11 20:17:05 +01:00
Marco Pivetta
16baa8d60f
#1573 - correcting docblock arguments/description
2015-12-11 20:00:08 +01:00
Marco Pivetta
00718f6bf7
#1496 s/$this/self
2015-12-11 18:27:19 +01:00
Damien Gavard
9b4dadade0
Use @return $this instead of @return static for consistency
2015-12-11 18:22:26 +01:00
Damien Gavard
5687347d60
Fix invalid return type documentation
2015-12-11 18:22:26 +01:00
Damien Gavard
15aafaa11d
Use @return $this instead of return explicitly QueryBuilder
2015-12-11 18:22:26 +01:00
Damien Gavard
8d62aadf55
Fix invalid return type in docblock
2015-12-11 18:22:26 +01:00
Marco Pivetta
9e68a5adc7
Merge pull request #1579 from aschempp/proxy-initialized-cs
...
Reduce code duplication in ProxyFactory::createInitializer
2015-12-11 18:16:53 +01:00
Andreas Schempp
4df7699ced
Reduce code duplication in ProxyFactory::createInitialized
...
The only difference between the ~30 lines in the IF-statement
is that the __wakup method is called on the proxy object.
2015-12-06 14:56:36 +01:00
bilouwan
fb4d02c69b
Refactor testing Proxy not initilized
2015-12-04 14:49:01 +01:00
Maximilian Bosch
f840f0d464
DDC-4022 execute callback parameter directly instead of using call_user_func
2015-12-01 22:31:27 +01:00
Maximilian Bosch
11f9b00d53
DDC-4022 method naming
2015-12-01 22:31:26 +01:00
Maximilian Bosch
33476d8c34
DDC-4022 minor improvements
2015-12-01 22:31:25 +01:00
Maximilian Bosch
c337f8f5c7
DDC-4022 deduplication of internal UnitOfWork methods
...
the methods UnitOfWork#afterTransactionRolledBack() and UnitOfWork#afterTransactionComplete do almost the same, so it can be abstracted into another private method.
2015-12-01 22:31:25 +01:00
Guilherme Blanco
3c3b7364ba
Hotfix for missing reverse dependency in case of non-implicit change tracking policies
2015-12-01 20:24:16 +00:00
Guilherme Blanco
9b77ba2c1a
Merge pull request #1570 from doctrine/DDC-2524
...
[RFC] Tests around reported cases over DDC-2524
2015-12-01 00:27:34 -05:00
David McKay
3c7d92e4cc
Fixed incorrect case of another two references of rollback
2015-11-30 16:53:31 +00:00
Guilherme Blanco
8ea62b95b8
Tests around reported cases over DDC-2524
2015-11-27 18:44:23 +00:00
bilouwan
832adae6b4
Unit test & fix for merge versionned entity
2015-11-27 17:28:45 +01:00
montaniasystemab
b48fca543c
Fixed typo in QueryBuilder->where() docblock
2015-11-26 10:01:29 +01:00
Guilherme Blanco
57b22bd646
Merge pull request #1568 from guiwoda/patch-ddc-3967
...
Identifier is cached with wrong type
2015-11-24 22:17:59 -05:00
Steve Müller
e0cb90d426
fix empty expression on PHP 5.4
2015-11-19 16:43:33 +01:00
Marco Pivetta
9c5cea3e95
Merge pull request #1561 from deeky666/DDC-4006
...
[DDC-4006] Inherit ID generator strategy mapping from embeddables
2015-11-19 16:34:32 +01:00
Steve Müller
86c81da7ce
inherit ID generator strategy mapping from embeddables
2015-11-19 16:10:48 +01:00
Guido Contreras Woda
427642aaba
Entity cache key is built differently on read than on write
2015-11-17 16:10:17 -03:00
Guilherme Blanco
84eb175dbf
Merge pull request #1436 from dadamssg/DDC-3785
...
allow ManyToManyPersister to handle custom identification types
2015-11-15 22:24:01 -05:00
Guilherme Blanco
50ee47cc70
Merge pull request #1492 from nicolas-grekas/doc-fix
...
Fix misleading docblock example
2015-11-15 22:19:27 -05:00
Guilherme Blanco
04789dfec7
Merge pull request #1443 from meeuw/unsigned
...
Unsigned
2015-11-15 22:16:15 -05:00
Guilherme Blanco
9f93999758
Merge pull request #1487 from xxccdef/DDC-3864
...
[DDC-3864] Support any ordering of fields in partial object query with embeddable
2015-11-15 22:03:25 -05:00
vershnik
96398ba30f
remove indexes overruled by primary key
...
There can be unique indexes automatically created for join column.
If join column is also primary key we should keep only primary key on this column.
Oracle does not allow having both unique index and primary key on the same column, it is useless for mysql too.
(Previously it was done by DBAL, but now it allows duplicate indexes)
2015-11-16 02:49:41 +00:00
Jan Langer
91ce78815f
Second level cache stores identifier with correct type even if findById is called with wrong identifier type
2015-11-14 11:17:16 +01:00
Guilherme Blanco
e64f44ec9b
Fix one to one inverse side cached entity association key generation
2015-11-13 15:58:52 +00:00