Pascal Borreli
30b050b44c
Fixed typos
2013-04-06 14:31:27 +00:00
Adam Prager
3b7b457d35
minor fixes
2013-04-04 20:07:21 +02:00
denkiryokuhatsuden
7af84e79e5
Fixed postgresql hidden scalar sort
2013-04-03 17:22:31 +09:00
denkiryokuhatsuden
786d904328
Revert "Add hidden field ordering for postgresql"
...
This reverts commit 3e8796f781
.
2013-04-03 17:14:31 +09:00
denkiryokuhatsuden
3e8796f781
Add hidden field ordering for postgresql
...
In postgresql environment, when some hidden fields are used in orderBy clause,
they're not property added because $rsm->scalarMappings don't have information about them.
2013-04-02 18:54:55 +09:00
Adam Prager
937ba6385e
fixed code duplication issue
2013-03-31 00:47:24 +01:00
Adam Prager
9797177193
check if ReflectionClass::getTraits() method exists
2013-03-27 02:48:35 +01:00
Adam Prager
8898c91dfc
only check for traits when class exists
2013-03-26 21:28:09 +01:00
Adam Prager
8e3e2e770a
Revert "only use already existing reflections"
...
This reverts commit bb5bdcf0f4
.
2013-03-26 21:17:59 +01:00
Adam Prager
bb5bdcf0f4
only use already existing reflections
2013-03-26 21:14:52 +01:00
Adam Prager
521276f1ed
entity generator - ignore trait properties and methods
2013-03-26 20:52:57 +01:00
Jan Hruban
3866472459
Import EntityManager in ConsoleRunner
2013-03-21 15:49:00 +01:00
Benjamin Eberlei
a7d764f6c0
Moved tools to Advanced topic, included simple setting up tools in Installation. Reworked CLI tool to print a template when no cli-config.php is defined.
2013-03-17 12:16:42 +01:00
Benjamin Eberlei
3ba0562006
Merge branch 'GH-572'
2013-03-12 19:04:27 +01:00
Norbert Orzechowicz
6a69b4700c
[DDC-2282] Fix pagination problem with SQL Server.
...
ORDER BY removed from all count queries when on SQL Server
Fixed SQLServer ORDER BY problem in paginator CountOutputWalker
Added test to check query with ORDER BY and SQLServerPlatform
2013-03-12 19:03:27 +01:00
Pascal Borreli
a2cd0f5804
Fixed typos
2013-03-11 00:08:58 +00:00
Vladislav Veselinov
30fd22a260
Use inflector for add/remove methods
2013-02-28 21:05:41 +02:00
Benjamin Eberlei
805bb5ff9f
Remove mentions of PEAR installation method, remove code.
2013-02-15 01:04:29 +01:00
Marco Pivetta
8272ffd23f
Proxy generation as of doctrine/common#168 - DCOM-96
2013-02-14 09:57:12 +01:00
Marco Pivetta
673323fc67
Adding warnings about deprecation of GIT, TAR and PEAR autoloading
2013-02-04 23:30:02 +01:00
Benjamin Morel
2bfbe03e37
Fixed return statements in SchemaTool.
2013-02-03 01:42:27 +00:00
aleks
dc190a297d
Fix typo
2013-01-27 11:09:26 +02:00
aleks
5e6bc0847f
Added support for order by scalar
2013-01-26 21:31:45 +02:00
Benjamin Eberlei
e319e34783
Merge pull request #528 from BenMorel/master
...
Documentation fixes
2012-12-23 12:22:09 -08:00
Thomas Rothe
fb055ca75d
fixed problems with joined inheritance and composite keys
...
SchemaTool now creates all Id columns not just only the first one.
Insert statement for child entity now contains parameter for additional key columns only once.
2012-12-16 18:20:10 +01:00
Benjamin Morel
774bb3fec4
Fixed missed documentation issues in Doctrine\ORM
2012-12-14 20:12:56 +00:00
Benjamin Morel
ad967e8e22
Fixed documentation for Doctrine\ORM\Tools\Pagination
2012-12-14 13:13:22 +00:00
Benjamin Morel
2524c878b6
Fixed documentation for Doctrine\ORM\Tools\Export
2012-12-14 13:02:12 +00:00
Benjamin Morel
0122d8d36c
Fixed documentation for Doctrine\ORM\Tools\Event
2012-12-14 12:49:59 +00:00
Benjamin Morel
71e78014e5
Fixed documentation for Doctrine\ORM\Tools\Console
2012-12-14 12:49:05 +00:00
Benjamin Morel
e72445b836
Fixed documentation for Doctrine\ORM\Tools
2012-12-13 18:55:44 +00:00
Benjamin Morel
7869ec714d
Fixed unused 'use' statements.
...
Fixed missed documentation issues in Doctrine\ORM
2012-12-13 18:19:21 +00:00
Francis Besset
657a54da84
Passed column options to the join column
2012-12-04 12:26:40 +01:00
Francis Besset
df2bfbb636
Fixed trailing spaces on SchemaTool
2012-12-04 12:23:55 +01:00
Benjamin Morel
43b301f22b
Fixed English mistakes
2012-12-03 11:02:29 +00:00
Fabio B. Silva
bac92f4d3e
Fix CS
2012-11-27 16:58:48 -02:00
Fabio B. Silva
d1dc72b65a
refactoring tests
2012-11-27 14:38:18 -02:00
Fabio B. Silva
41b907606f
Fix DDC-2172
2012-11-27 14:29:02 -02:00
nemekzg
727647902c
Fix for DDC-1765
2012-11-17 16:18:18 +01:00
Benjamin Eberlei
f453d6c85b
[DDC-2109] Fix bug with ResolveTargetEntityListener and ManyToMany associations.
2012-11-12 15:48:10 +01:00
Benjamin Eberlei
918ea1cdd8
Merge pull request #449 from mvrhov/DDC-1958
...
Pager fix for DDC-1958
2012-11-12 06:02:32 -08:00
Stefano Rodriguez
482da95352
The schema tool now doesn't add a foreign constraint when subclassess of a STI use the same field to map relations with entities of different classes
2012-11-12 14:59:48 +01:00
Miha Vrhovnik
8fe9fa0dc7
extracted pgsql sql generation into a helper method
2012-11-12 13:48:55 +01:00
Miha Vrhovnik
c7a75f477f
The distinct query should replicate the fields in order by clause and the order by clause itself from inner query
...
This fixes DDC-1958
2012-11-12 13:18:46 +01:00
Benjamin Eberlei
4e04daaed4
Merge pull request #466 from ethanresnick/patch-1
...
Use `protected` so EntityGenerator can be extended
2012-11-12 04:05:23 -08:00
HarmenM
8a29d91d15
Update lib/Doctrine/ORM/Tools/Pagination/Paginator.php
...
Replaced the foreach loop adding all IDs as single parameters with a single parameter which injects the IDs as an array.
2012-11-12 12:30:03 +01:00
HarmenM
88d0933a6e
Update lib/Doctrine/ORM/Tools/Pagination/WhereInWalker.php
...
replaced the for-loop which adds the InputParameters for a single InputParameter for use with an array instead of a set of scalars.
2012-11-12 12:30:03 +01:00
Marco Pivetta
7520a745c2
Fixing reference to Doctrine\ORM\Version
2012-11-12 11:31:19 +01:00
Metod
cfee331006
SchemaTool ignoring 'fixed' option fixed
2012-11-07 16:31:31 +01:00
Guilherme Blanco
262c3eea6b
Merge pull request #506 from FabioBatSilva/DDC-2121
...
Fix DDC-2121
2012-11-05 16:27:34 -08:00
Guilherme Blanco
a44579303c
Merge pull request #493 from nmpolo/codegenerationfixes
...
Do not add trailing whitespace to blank lines
2012-11-05 16:19:39 -08:00
Fabio B. Silva
2f7e970c5f
Fix DDC-2121
2012-11-05 21:53:07 -02:00
Sebastian Bauer
a27be2fab6
added unsigned mapping to SchemaTool options
2012-11-05 19:49:16 +01:00
Nick Masters
e402a0c078
Spaces around ! sign
2012-11-04 15:22:32 +00:00
Nick Masters
3a8ea7260c
Merge remote-tracking branch 'origin/master' into codegenerationfixes
2012-11-04 15:14:54 +00:00
Christophe Coevoet
1d3fe87215
Removed an unused private method in the SchemaValidator
2012-11-03 16:37:34 +01:00
Christophe Coevoet
5a6c398ea0
Fixed coding standards in the Tools namespace
2012-11-03 16:37:31 +01:00
Markus Lanthaler
1b7ca67fdb
Improve DocBlock annotations of generated entities
...
Currently, the DocBlock annotations for member variables contain the variable name as description which is redundant and should be removed. Furthermore the class is annotated with the FQN instead of just the name. This makes automatically generated documentation quite ugly.
2012-11-02 17:15:44 +01:00
Nick Masters
0a2ba38e58
Add new line to end of file
2012-10-30 22:42:01 +00:00
Nick Masters
0f92944edd
Do not add trailing whitespace to blank lines
2012-10-30 22:22:04 +00:00
Guilherme Blanco
a16a935bff
Merge pull request #472 from twinh/master
...
Fixed empty namespace in generated code when repository class do not have namespace
2012-10-21 18:38:53 -07:00
Fabio B. Silva
fb467a1196
Fix DDC-2079
2012-10-20 15:37:13 -03:00
jakoch
d4a6c488ca
fixed use statements
2012-10-12 13:53:20 +02:00
Oleksandr Kovalov
90bbb35655
Fixed bug with comment option not being added to column.
2012-10-11 15:57:51 +00:00
twinh
8cc24f4cf2
removed blanks
2012-10-11 06:04:03 -07:00
twinh
66efd65e64
fixed empty namespace in generated code when repository class do not have namespace
2012-10-11 06:01:55 -07:00
Ethan
c604adc804
Use protected so generator can be extended
...
This is definitely something I'd like to be able to extend, and I imagine others might too.
2012-10-09 08:00:51 -03:00
Benjamin Eberlei
a5e043e6e6
Merge pull request #444 from goetas/xmlfix
...
Fixed some typo error in XML Exporter
2012-10-05 14:16:59 -07:00
Benjamin Eberlei
f7220ae416
Merge pull request #455 from radmar/master
...
Fixed unique-constraint name in XML Exporter
2012-10-05 11:23:55 -07:00
Benjamin Eberlei
0c8be37ca9
Merge pull request #458 from barelon/master
...
Use cascade=all if all cascade options set
2012-10-05 09:45:44 -07:00
Fran Moreno
45eef4a03c
[SchemaValidator] Fix typo
2012-10-03 10:51:14 +03:00
barelon
919cf8558b
Remove trailing whitespace
2012-10-02 00:16:29 +03:00
barelon
3b27216c51
add empty lines around if block
2012-10-02 00:14:24 +03:00
barelon
cd37ec47d5
Set 'cascade' => 'all' if all cascade options set
2012-09-30 01:16:21 +03:00
barelon
c97eff94f5
Output cascade={"all"} if all cascade options set
2012-09-30 01:12:06 +03:00
Marcin Radziwoński
380f4fbac7
Fixed unique-constraint name in XML Exporter
2012-09-26 14:27:16 +02:00
Konstantin Kuklin
34d8843fd6
improve phpdoc
2012-09-21 03:20:06 +04:00
Asmir Mustafic
bc277c6e28
spaces
2012-09-13 11:04:23 +02:00
Asmir Mustafic
f86dcfc288
typo fix
2012-09-13 09:40:14 +02:00
Cas
de5b20d0bf
Update lib/Doctrine/ORM/Tools/Export/Driver/XmlExporter.php
...
Allow 'nullable' attribute to be exported for fields, something which already worked in YamlExport. This addition saved me a lot of time during development, not having to manually re-factor after each export.
Don't know why this was missing, maybe it's me who is missing something, so let me know ;)
2012-09-13 03:43:27 +03:00
Benjamin Eberlei
bc2476f342
[DDC-1918] Fix weird results at the end of paginator when using fetch joins
2012-08-29 15:16:07 +02:00
Benjamin Eberlei
bcbef5670c
Merge branch 'DDC-1939'
2012-07-29 09:27:20 +02:00
Christophe Coevoet
cebb820030
Added the new DBAL 2.3 types in the EntityGenerator typehint map
2012-07-27 10:34:59 +02:00
Marco Pivetta
aa0cb0b6d7
DDC-1939 - Removing references to non-existing AssociationMapping class
2012-07-24 11:37:57 +02:00
Christophe Coevoet
a723b73929
Changed commands to use command.name in the help
2012-07-17 00:55:09 +02:00
Benjamin Eberlei
fe292cc503
Merge pull request #392 from widop/patch-1
...
Invalid paginator query cloning
2012-07-08 09:34:09 -07:00
Marco Pivetta
346e34adf6
Reverting to default annotation driver with - delayed to 3.0
2012-07-08 17:33:50 +02:00
Marco Pivetta
245d906ebf
Adding parameter to allow switching annotation reader implementation
2012-07-08 17:17:32 +02:00
Eric GELOEN
8c24e528ad
Clone directly the ArrayCollection instead of looping
2012-07-07 11:38:53 +02:00
Eric GELOEN
996e47bf61
Replaced a shallow-copy with a deep-copy to avoid side effects.
2012-07-06 17:49:03 +02:00
Guilherme Blanco
6ba205f561
Merge pull request #314 from Ocramius/dcom-metadata-drivers-reuse
...
Doctrine\Common metadata drivers reuse
2012-07-04 13:30:54 -07:00
Benjamin Eberlei
30e86f442f
[DDC-1907] Fix template variable placeholder
2012-07-04 21:30:25 +02:00
Benjamin Eberlei
5cdb0ae8be
[DDC-1907] Add generation of remove method for collections
2012-07-04 21:04:47 +02:00
Marco Pivetta
245718c9eb
Removing AbstractFileDriver, using Doctrine\Common\Persistence\Mapping\Driver\FileDriver instead
2012-07-04 20:59:21 +02:00
Tiago Ribeiro
bda7310b46
Added an empty line feed preceding the return statement
2012-07-03 12:57:14 +02:00
Douglas Greenshields
53e735ffdd
fixed typo in command help text
2012-07-02 18:01:57 +01:00
Guilherme Blanco
cb72219b11
Merge pull request #372 from FabioBatSilva/DDC-1845
...
[DDC-1845] QuoteStrategy
2012-06-24 20:36:54 -07:00
Fabio B. Silva
ca4862aabc
Fix CS
2012-06-23 14:19:47 -03:00
Fabio B. Silva
d3d97e7ef8
remove svn markers
2012-06-19 15:27:41 -03:00
Fabio B. Silva
85b6f8dc2f
change quote strategy to interface
2012-06-18 14:43:00 -03:00