Guilherme Blanco
443259f629
Some extra refinement over patch
2015-11-09 03:19:11 +00:00
Matthias Pigulla
b7bd42638d
Fix for DDC-3697 and DDC-3701
...
Also fix Lexer::match() so it does not accept T_WHERE when T_WITH is supposed to be matched. (DDC-3701)
2015-11-09 03:19:11 +00:00
Guilherme Blanco
ada97d55ce
Merge pull request #1375 from webimpress/fix/DDC-3671
...
DDC-3671 prevent duplicate unique index
2015-11-07 11:44:02 -05:00
Alex Vasilenko
c8d2ac40f4
fixes result cache setting query caching
2015-11-07 16:14:54 +00:00
Guilherme Blanco
d7a3154954
Merge pull request #1397 from giosh94mhz/concat_expr_variable_arguments
...
Add Expr::concat support for multiple arguments
2015-11-07 10:45:04 -05:00
Guilherme Blanco
d88cf97bef
Merge pull request #1507 from deguif/fix-wrong-property
...
Fixed wrong property name
2015-11-07 10:09:06 -05:00
Marco Pivetta
28cebeca1c
Merge pull request #1407 from aivus/patch-1
...
Add return to removeMethodTemplate
2015-11-06 23:11:42 -05:00
Marco Pivetta
e7685c89da
Merge pull request #1405 from taueres/master
...
EntityManager#getReference throw ORMException for unrecognized id
2015-11-06 23:07:21 -05:00
Guilherme Blanco
843966ac50
General fixes across CS, type resolving, test fixes, etc
2015-11-07 03:55:05 +00:00
Marco Pivetta
9e085ca0b3
Merge pull request #1308 from z38/override-inversedby
...
[DDC-3579] Allow override of inversedBy
2015-11-05 15:10:43 -05:00
Marco Pivetta
2fa289edee
Merge pull request #1514 from Metabor/patch-2
...
check if collection is empty without loading it
2015-11-05 14:46:15 -05:00
z38
ff28507b88
Allow override of inversedBy
2015-11-05 12:11:29 +01:00
Marco Pivetta
f097478437
#1354 - DDC-3644 - short array syntax
2015-11-05 00:13:19 -05:00
Marco Pivetta
a7ded16204
#1354 - DDC-3644 - s/protected/private
2015-11-05 00:11:43 -05:00
Guilherme Blanco
1587aac4ff
Added support for OneToMany with orphanRemoval. Replacing entire collection now deletes the replaced collection (scheduled for deletion). No event handling is done as it happens at DBAL level.
2015-11-05 00:08:44 -05:00
aleeeftw
5481e0fb8b
Minor docblock correction
...
The documentation for the method ‘addJoinedEntityFromClassMetadata’ is
wrong. As we can see currently says you need to pass an object and that
is wrong. The $relation variable is passed to ‘addJoinedEntityResult’
which is using it as a ‘string’.
2015-11-01 10:43:03 +00:00
Steve Müller
b1451cda52
Merge pull request #1533 from sergeyz/patch-1
...
Fix argument type
2015-10-22 09:38:06 +02:00
Angel Fernando Quiroz Campos
47441666df
Update Expr.php
2015-10-20 16:55:43 -05:00
Sergey Zhuravel
e354ebb162
Fix argument type
2015-10-09 13:53:25 +03:00
Marco Pivetta
88f43a947d
Merge pull request #1518 from guiwoda/custom-generator-field-builder
...
Added custom ID generator definition to the FieldBuilder
2015-10-04 19:56:17 -03:00
Guido Contreras Woda
3a7d2da2e5
Added custom ID generator definition to the FieldBuilder
2015-10-02 13:51:07 -03:00
Benjamin Morel
7d4016a757
Documentation and case fixes in QueryBuilder
2015-10-01 20:04:16 +02:00
Oliver Tischlinger
60beca3760
changes after code review
2015-09-25 10:44:30 +02:00
Oliver Tischlinger
3e26330c53
check if collection is empty without loading it
...
Actually isEmpty() is always loading the collection in LazyCriteriaCollection.
A lazy version should use the existing functionality of count() to check if there are no elements if the collection is not initialized.
2015-09-23 17:34:11 +02:00
François-Xavier de Guillebon
4b7d8511f8
Fixed wrong variable used as array key
2015-09-14 18:34:55 +02:00
François-Xavier de Guillebon
a18ff95fc4
Fixed wrong property name
2015-09-11 17:17:28 +02:00
Tobias Schultze
c03996d3b3
Fix variable reference in phpdoc of ClassMetadataInfo
2015-09-11 00:19:18 +02:00
Giorgio Premi
16172534bb
Add Expr::concat support for multiple arguments
2015-09-10 17:01:09 +02:00
Marco Pivetta
a0a0c731bb
Merge pull request #1457 from phansys/short_types
...
Updated syntax for "integer" and "boolean" types
2015-09-05 17:21:05 +02:00
Marco Pivetta
8aa0cdd0b9
Merge pull request #1483 from longkey1/fix-typo
...
Fix typo
2015-09-04 08:37:40 +01:00
Marco Pivetta
2d00a9bcbf
Merge pull request #1482 from bocharsky-bw/patch-1
...
Add type hint for entity manager
2015-09-04 08:34:35 +01:00
Marco Pivetta
29c2b807ce
Merge pull request #1474 from localheinz/fix/unused-imports
...
Fix: Remove unused imports
2015-09-04 08:30:46 +01:00
Issei.M
df461601f7
removed useless line breaks
2015-09-03 17:55:14 +09:00
Benjamin Eberlei
2b3648c725
[DCOM-293] Fix security misconfiguration vulnerability allowing local remote arbitrary code execution.
2015-08-31 14:16:50 +02:00
Bill Schaller
f88896cc9d
Merge pull request #1463 from ehimen/paginate-order-by-subselect
...
Fixed issue when paginator orders by a subselect expression
2015-08-04 14:17:50 -04:00
Bocharsky Victor
dbd3fa4501
Add type hint for entity manager
2015-07-30 15:32:04 +03:00
longkey1
a3b1f85fd4
typo
2015-07-30 13:16:55 +09:00
Andreas Möller
8a9f6849a2
Fix: Remove unused imports
2015-07-24 12:48:34 +02:00
Andy Cook
26c295b06b
Added non-functional tests for row number over function subselect expression fix; syntax fixes.
2015-07-17 13:24:19 +01:00
Marco Pivetta
506df640b5
Merge pull request #1433 from goetas/slc-check-to-classmetadatainfo
...
Check for non-cacheable entities on metadata level, not at runtime
2015-07-16 20:41:30 +01:00
Asmir Mustafic
3a7b2991e8
PSR-2 CS improvements
2015-07-16 16:20:36 +02:00
Andy Cook
61488d955e
Fixed issue when paginator orders by a subselect expression on platforms supporting ROW_NUMBER OVER() function.
2015-07-16 11:20:22 +01:00
Lenard Palko
977f0a5b5c
Fix skipping properties if they are listed after a not loaded relation.
2015-07-15 21:26:45 +01:00
Nico Vogelaar
b3af5590f9
Fixes ClassMetadata wakeupReflection with embeddable and StaticReflectionService
2015-07-15 20:49:16 +01:00
Marco Pivetta
56cedc5d4f
DDC-3683 - #1380 - reverting BC break, annotating correct types, cs fixes
2015-07-15 20:35:21 +01:00
Darien Hager
77d03ec745
Remove runtime assertion
2015-07-15 20:29:44 +01:00
Darien Hager
6d6a6a7fbd
Refactor LoadClassMetadataEventArgs to ensure it contains an EntityManager
2015-07-15 20:29:43 +01:00
Darien Hager
cddbbf00b4
Stumbled across a bug where signatures didn't match, but also the current persister-type didn't support getCacheRegion(). Unsure of exact mechanism, but clearly the constructor doesn't take the second argument anyway, may be old code.
2015-07-15 20:29:43 +01:00
Javier Spagnoletti
cedff7715e
[Paginator] Fixed boolean casting in Paginator
...
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
2015-07-14 16:48:42 -03:00
Javier Spagnoletti
97cc49033e
Updated syntax for ``integer
` and
`boolean
`` types
...
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Used short syntax for ```integer``` and ```boolean``` types.
**Before**
```php
/**
* @var integer
*
* @ORM\Column(name="some_integer_field", type="integer")
*/
private $someIntegerField;
/**
* @var boolean
*
* @ORM\Column(name="some_boolean_field", type="boolean")
*/
private $someBooleanField;
```
**After**
```php
/**
* @var int
*
* @ORM\Column(name="some_integer_field", type="integer")
*/
private $someIntegerField;
/**
* @var bool
*
* @ORM\Column(name="some_boolean_field", type="boolean")
*/
private $someBooleanField;
```
2015-07-14 15:30:13 -03:00