1
0
mirror of synced 2025-01-10 02:57:10 +03:00
Commit Graph

8273 Commits

Author SHA1 Message Date
flack
9807718100 Also skip entities scheduled for deletion when committing multiple entities 2013-11-17 11:31:21 +01:00
Fabio B. Silva
3529cd4282 Merge pull request #797 from peterkokot/patch-1
CS fixes
2013-11-16 10:52:09 -08:00
Benjamin Eberlei
2925fea7bd Make tests forward compatible with DBAL 2.5 2013-11-14 12:36:52 +01:00
Benjamin Eberlei
6cdd65762f Add 2.4 branch [ci skip] 2013-11-12 13:37:20 +01:00
David Stensland
e6be52af3a Teach orm:validate-schema to --skip-mapping and --skip-sync
Use --skip-mapping to not check if the current mapping informaiton
is valid or not.

Use --skip-sync to not check if the database schema is in line with
the current schema mapping.
2013-11-11 18:12:28 -05:00
flack
9016a5a854 don't compute changeset for entities that are going to be deleted 2013-11-12 00:11:50 +01:00
Benjamin Eberlei
0edf2bc585 Add missing link to batch processing chapter 2013-11-07 16:43:36 +01:00
Justin Martin
8b4b8e7268 Test EntityManager::createNamedQuery.
Test EntityManager::createNamedNativeQuery.
2013-11-06 20:07:48 -08:00
Marco Pivetta
141213915e Merge pull request #838 from flack/patch-2
Spelling fix
2013-11-04 10:21:49 -08:00
Marco Pivetta
271f952c4a Merge pull request #839 from flack/patch-3
Spelling fix
2013-11-04 10:20:12 -08:00
flack
8ad6853e84 Spelling fix 2013-11-04 19:17:04 +01:00
flack
dc476b62d1 Spelling fix 2013-11-04 19:16:04 +01:00
Guilherme Blanco
c7d4077219 Merge pull request #834 from carlosbuenosvinos/patch-1
Add example use of repositoryClass in YAML
2013-11-04 07:46:42 -08:00
Guilherme Blanco
f3b8fe5255 Merge pull request #836 from Dragonrun1/master
Update annotations-reference.rst
2013-11-04 07:05:16 -08:00
Matthieu Napoli
1899bcf000 Fixed tests failing in pgsql because of used of a reserved keyword 2013-11-04 16:01:05 +01:00
Matthieu Napoli
791ec3bc6e Fixed tests for pgsql: was using reserved keyword as table name 2013-11-04 12:53:18 +01:00
Matthieu Napoli
e018bb83f0 [DDC-2775] Bugfix 2013-11-04 12:42:23 +01:00
Matthieu Napoli
8bd54be4ec [DDC-2775] Tests reproducing DDC-2775 2013-11-04 12:40:51 +01:00
Michael Cummings
01dc0e8273 Update annotations-reference.rst
@JoinTable because of mapping defaults does NOT have required attributes. Updated annotations reference to show them as optional.
2013-11-03 09:20:15 -08:00
Sander Marechal
35a62e9a05 Add rootAlias to Criteria where clauses 2013-11-01 13:43:03 +01:00
Sander Marechal
202039e853 Set rootAlias outside loop 2013-11-01 13:19:33 +01:00
Carlos Buenosvinos
6eac308ca3 Add example use of repositoryClass in YAML 2013-11-01 12:11:01 +01:00
Ronan Guilloux
48d078a856 no-backup instead of nobackup 2013-10-31 12:25:43 +01:00
Ronan Guilloux
5c01e8e99e Generate-Entities-Console-Command: Adding an 'avoid creating backup files' flag 2013-10-31 12:00:32 +01:00
Matthieu Napoli
f3f9fe9daa Added "readOnly: true" to YAML reference
The readOnly configuration is documented nowhere except in the annotations reference.

I added it to the example, for a lack of a better place. But at least it will be documented somewhere.

Can you also confirm that this is correct? I'm starting to use it, and I can't find a way to have doctrine validate it is really working. Even with the metadata validation tool, it won't raise an error if I put an invalid entry (`readOnlyFOOBAR: true`) or an invalid value (`readOnly: FOOBAR`), so I'm kind of blind here.
2013-10-31 10:50:44 +01:00
Sander Marechal
b6f8d53ff1 [DDC-2764] Prefix criteria orderBy with rootAlias 2013-10-29 11:11:46 +01:00
Benjamin Eberlei
514dd4e852 [DDC-2757] Update documentation with regard to manually closing the EntityManager when an Exception occurs. 2013-10-26 12:32:53 +02:00
Benjamin Eberlei
cedcac225f Merge branch 'DDC-2759' 2013-10-26 11:16:21 +02:00
Benjamin Eberlei
9a3298347c [DDC-2759] Fix regression in ArrayHydrator introduced in DDC-1884 at SHA c7b4c9bf0f 2013-10-26 11:16:07 +02:00
Chris Collins
7249804e3f Added a failing test case for DDC-2759. 2013-10-24 13:02:42 +01:00
Marco Pivetta
b7cb1e98ee Merge pull request #825 from flack/patch-1
Spelling fix
2013-10-23 02:32:45 -07:00
flack
195b1169ae Spelling fix 2013-10-23 11:32:04 +02:00
Marco Pivetta
0a31ecb283 Merge pull request #824 from brikou/patch-3
s/PostgreSQLPlatform/PostgreSqlPlatform/
2013-10-21 00:45:51 -07:00
Brikou CARRE
84b980227f s/PostgreSQLPlatform/PostgreSqlPlatform/ 2013-10-21 09:44:48 +02:00
Marco Pivetta
a96fe8770c Merge pull request #815 from nicolas-bastien/patch-2
Remove unused use statement
2013-10-18 03:46:09 -07:00
Marco Pivetta
d2e731174c Merge pull request #821 from mnapoli/patch-4
Fixed documentation rendering
2013-10-17 07:18:12 -07:00
Matthieu Napoli
a90311cb44 Fixed documentation rendering
The 2 lists I've fixed render as citation in the docs: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/index.html

If I didn't make any mistake, now they should render as simple lists.
2013-10-17 15:53:45 +02:00
Marco Pivetta
1e10fca66a Merge pull request #818 from mfdj/master
Clarified tutorial context in section introducing `orm:scehma-tool:*` commands
2013-10-16 17:23:09 -07:00
Guilherme Blanco
95ad926c95 Merge pull request #819 from vbourdeix/master
Fixes a Fatal Error when using a subexpression in parenthesis
2013-10-14 11:01:51 -07:00
Vincent BOURDEIX
5506d7adce Fixes a Fatal Error when using a subexpression in parenthesis
When some dql contains a subselect with expression in parenthesis, the
expression of the $simpleSelectExpression parameter given to
walkSimpleSelectExpression is an instance of AST\ParenthesisExpression.
Before this commit, this case defaulted to
$this->walkEntityIdentificationVariable($expr) where $expr is supposed
to be a string. A fatal error was then yielded.
2013-10-14 15:04:52 +02:00
Guilherme Blanco
0d58e82b76 Merge pull request #817 from mfdj/patch-1
Removed "minimum-stability" : "dev" from composer.json
2013-10-11 19:34:57 -07:00
Mark Fox
2f8b0801cc further tweaking of last commit pt.2 2013-10-11 15:22:39 -07:00
Mark Fox
126cd0bac2 further tweaking of last commit 2013-10-11 15:20:53 -07:00
Mark Fox
c5adfca0ed Clarified tutorial context around introduction of orm:schema-tool:* commands
See: http://stackoverflow.com/questions/17473225/doctrine2-no-metadata-classes-to-process for evidence of this confusion
2013-10-11 15:16:46 -07:00
Mark Fox
006dac13a9 Removed "minimum-stability" : "dev" from composer.json 2013-10-11 14:34:49 -07:00
Guilherme Blanco
bb63058410 Merge pull request #780 from terite/DDC-2655
[DDC-2655] Don't let getOneOrNullResult throw NoResultException
2013-10-11 13:43:27 -07:00
Guilherme Blanco
be81b46d8e Merge pull request #791 from myclabs/CriteriaContains
Implemented "contains" operator for Criteria expressions
2013-10-11 06:33:40 -07:00
Eduardo
333177da00 Options not respected for ID Fields in XML Mapping Driver (XSD update)
XSD update.

The same bug of the yaml driver: see http://www.doctrine-project.org/jira/browse/DDC-2661
2013-10-09 23:49:39 +02:00
Eduardo
aabb34f853 Options not respected for ID Fields in XML Mapping Driver
Same bug of the YAML driver, see: http://www.doctrine-project.org/jira/browse/DDC-2661
2013-10-09 22:40:29 +02:00
David Stensland
089006927e [DDC-2655] Don't let getOneOrNullResult throw NoResultException 2013-10-09 11:38:33 -04:00