1
0
mirror of synced 2025-01-10 19:17:10 +03:00
Commit Graph

9044 Commits

Author SHA1 Message Date
Marco Pivetta
4d950a9e10 Merge pull request #1002 from BenMorel/propertyfix
Fixed wrongly initialized property.
2014-04-04 22:42:43 +02:00
Benjamin Morel
b3ec4df8ce Fixed wrongly initialized property. 2014-04-04 20:05:16 +00:00
Guilherme Blanco
bfb66f1d85 Merge pull request #985 from doctrine/hotfix/DDC-3042-sql-alias-collisions-in-dql
[DDC-3042] SQL Alias collisions in DQL
2014-04-03 20:41:36 -05:00
Marco Pivetta
f80fceda0e DDC-3042 - changing SQL generation tests to respect changes in naming strategy 2014-04-04 03:05:48 +02:00
Marco Pivetta
e6bf096583 Prefixing alias counter with _ to fix DDC-3042 and prevent collisions 2014-04-04 03:05:48 +02:00
Marco Pivetta
11b3065fd1 Verifying DDC-3042 - duplicate aliases in DQL SQL generation 2014-04-04 03:05:48 +02:00
Marco Pivetta
3680bb7ccc Stubbing out test for DDC-3042 - DQL aliases cause collisions when selecting from tables with similar properties 2014-04-04 03:05:48 +02:00
Marco Pivetta
733102b4a1 DDC-3065 - applying hotfix that allows NULL in IN() criteria 2014-04-03 17:36:56 +02:00
Marco Pivetta
a8b96803a4 DDC-3065 - persister tests for criteria containing NULL values in IN() conditions 2014-04-03 17:36:56 +02:00
Marco Pivetta
eb6498544f DDC-3065 - splitting tests and checking multiple values support 2014-04-03 17:36:56 +02:00
Marco Pivetta
f54d6157f4 DDC-3065 - hardening test - should support multiple values in IN(), also NULL ones 2014-04-03 17:36:56 +02:00
Marco Pivetta
f2f571e4ab DDC-3065 - failing test - IN()-alike criteria should support NULL search values 2014-04-03 17:36:56 +02:00
Menno Holtkamp
26307a0cee Added 'fetch="EXTRA_LAZY"' to many-to-many association 2014-03-31 11:55:04 +02:00
Menno Holtkamp
8d0a5958eb Code-style improvement 2014-03-31 11:02:36 +02:00
Menno Holtkamp
59842e9bc6 Code-style improvement
Also to trigger Travis CI
2014-03-31 11:00:50 +02:00
Menno Holtkamp
3044009550 Added 'fetch="EAGER"' to one-to-one association 2014-03-30 16:01:46 +02:00
Marco Pivetta
da96f4938a Merge pull request #994 from ThomasLomas/patch-1
Update EntityGenerator comment
2014-03-29 02:51:00 +01:00
Thomas Lomas
7d9630786b Update EntityGenerator comment
fieldVisibility was referred to as a boolean, where it is actually a string.
2014-03-29 01:49:12 +00:00
Marco Pivetta
8f688509c8 Merge pull request #992 from BenMorel/docfix
Fixed typos
2014-03-28 14:05:20 +01:00
Benjamin Morel
b3ec87ab09 Fixed typos 2014-03-28 12:54:49 +00:00
Marco Pivetta
ca19db34d2 Merge pull request #990 from Remper/patch-1
Typo in documentation
2014-03-27 13:51:28 +01:00
Nechaev Yaroslav
46b16a5e10 Update dql-doctrine-query-language.rst 2014-03-27 15:49:04 +03:00
Nechaev Yaroslav
b145ebf955 Typo in documentation
This method from AbstractQuery accepts constants from ClassMetadata rather than string
2014-03-27 15:45:52 +03:00
Menno Holtkamp
798075931a Exporter support for association fetch modes 2014-03-26 01:00:17 +01:00
Steve Müller
048c56bdb0 Merge pull request #987 from baileylo/patch-1
Fixes typo in dql-doctrine-query-language.rst
2014-03-25 19:11:28 +01:00
Logan Bailey
263d9f30f2 Fixes typo in dql-doctrine-query-language.rst
Changes "If you a query" to "If you have a query"
2014-03-25 11:10:43 -07:00
Benjamin Eberlei
927d69b61a Merge pull request #957 from thealjey/master
makes doctrine less dependent upon the symfony yaml component
2014-03-23 15:41:27 +01:00
Benjamin Eberlei
8addb5ffa8 Merge pull request #960 from drealecs/fixes-EntityManagerInterface
allow passing EntityManagerInterface when creating a HelperSet
2014-03-23 15:36:38 +01:00
Benjamin Eberlei
5335b2a2ad Merge pull request #955 from goatherd/patch-1
iteration risk note
2014-03-23 15:35:53 +01:00
Benjamin Eberlei
71fc425902 Merge pull request #963 from mdemo/master
SQLFilter -- allows to check if a parameter was set
2014-03-23 15:33:14 +01:00
Benjamin Eberlei
a03c8da683 Merge pull request #962 from netiul/master
Stop executeDeletions when there is nothing to to delete anymore
2014-03-23 15:32:28 +01:00
Benjamin Eberlei
dd8075ea95 Merge branch 'DDC-3018' 2014-03-23 15:16:15 +01:00
Benjamin Eberlei
2aea3036b6 [DDC-3018] Fix string literals in new operator. 2014-03-23 15:16:09 +01:00
Adrian Olek
0caeb4edbf Initialize table options annotation, fixed condition in AnnotationDriver 2014-03-23 14:37:55 +01:00
Benjamin Eberlei
24d4fd17f3 Merge branch 'DDC-2996' 2014-03-23 13:19:04 +01:00
Benjamin Eberlei
d473824279 [DDC-2996] Fix bug in UnitOfWork#recomputeSingleEntityChangeSet
When calling UnitOfWork#recomputeSingleEntityChangeSet on an entity
that didn't have a changeset before, the computation was ignored.
This method however is suggested to be used in "onFlush" and "preFlush"
events in the documentation.

Also fix a bug where recomputeSingleEntityChangeSet was used
before calculating a real changeset for an object.
2014-03-23 13:16:33 +01:00
Benjamin Eberlei
e415da7f47 Merge branch 'DDC-3033' 2014-03-23 12:38:06 +01:00
Benjamin Eberlei
ecc2857e2d [DDC-3033] Clarify restrictions in events. 2014-03-23 12:37:56 +01:00
Benjamin Eberlei
396337bd0d [DDC-3033] Fix bug in UnitOfWork#recomputeSingleEntityChangeSet.
The fix for DDC-2624 had a side effect on recomputation of
changesets in preUpdate events. The method wasn't adjusted
to the changes in its sister method computeChangeSet() and
had wrong assumptions about the computation.

Especially:
1. Collections have to be skipped
2. Comparison was changed to strict equality only.
2014-03-23 12:35:54 +01:00
Benjamin Eberlei
fb2d2bce45 Merge pull request #984 from holtkamp/patch-1
Use boolean values for 'unique' attribute
2014-03-23 10:16:04 +01:00
Benjamin Eberlei
0621b5a161 Merge branch 'DDC-3045' 2014-03-23 09:58:38 +01:00
Benjamin Eberlei
c8836a008d [DDC-3045] Check that EntityRepository APIs prevent SQL injection through field names. Improve EntityManager#find() error handling when invalid identifier fields are passed. 2014-03-23 09:58:31 +01:00
Menno Holtkamp
6e651b13c9 Added test to ensure boolean metadata is properly exported/serialized to XML 2014-03-20 21:29:52 +01:00
Guilherme Blanco
fdb9f90848 Merge pull request #983 from holtkamp/patch-new-dql-in-expression-builder
Added MEMBER OF and INSTANCE OF to ExpressionBuilder
2014-03-20 08:28:32 -05:00
Menno Holtkamp
ef4e73f987 Use boolean values for 'unique' attribute
As defined in: https://github.com/doctrine/doctrine2/blob/master/doctrine-mapping.xsd#L294

Same as 'nullable' attribute. 

It was being exported as a "1" for TRUE and "0" for false
2014-03-20 11:08:29 +01:00
Menno Holtkamp
262e465e39 Processed code-review feedback 2014-03-20 09:02:39 +01:00
Menno Holtkamp
56e879b7aa Removed double linebreaks 2014-03-19 13:03:26 +01:00
Menno Holtkamp
400f420925 Added MEMBER OF and INSTANCE OF helpers to ExpressionBuilder 2014-03-19 13:00:45 +01:00
Thomas Lallement
6bbc07ddbf Update DDC3033Test.php 2014-03-18 22:10:15 +01:00
Thomas Lallement
7bf2bcb017 Update DDC3033Test.php 2014-03-18 15:04:48 +01:00