Marco Pivetta
245d906ebf
Adding parameter to allow switching annotation reader implementation
2012-07-08 17:17:32 +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
Fabio B. Silva
debc6e4993
change QuoteStrategy#getJoinColumnName to use join column
2012-06-18 14:42:58 -03:00
Fabio B. Silva
2afe24f51c
start to work in xxToOne quote
2012-06-18 14:42:58 -03:00
Fabio B. Silva
a75c672ee7
fix sequence and join columns
2012-06-18 14:42:57 -03:00
Fabio B. Silva
8fec73673d
fix DDC-1719 in persiter and query level
2012-06-18 14:42:56 -03:00
Fabio B. Silva
4ef3d99770
use quote strategy in SizeFunction, MultiTableDeleteExecutor, MultiTableUpdateExecutor, and SchemaTool
2012-06-18 14:42:56 -03:00
Guilherme Blanco
27b4f58b66
Merge pull request #362 from odolbeau/cs
...
Correct some mistakes (tabs & trailing spaces)
2012-06-14 22:43:18 -07:00
Włodzimierz Gajda
b263a00eac
Entities generator: constructor's template docblock
2012-06-06 08:44:25 +02:00
Olivier Dolbeau
7ca0ac289e
Remove tabs & trailing spaces
2012-06-05 15:46:10 +02:00
Olivier Dolbeau
c98f9117c2
Remove unused use
2012-06-05 15:39:52 +02:00
Benjamin Eberlei
1f2ce21b56
[DDC-1497] Change EntityGenerator add method generation for collections.
2012-05-27 20:31:01 +02:00
Benjamin Eberlei
04b23dbf10
[DDC-1798] Exporter generate error when composite primary key is generated. Fixes GH-342
2012-05-27 18:44:31 +02:00
Benjamin Eberlei
3398d1e287
[DDC-1685] Fix bug in OutputWalker when used on entities with Foreign Key as Primary Key.
2012-05-27 18:33:35 +02:00
Benjamin Eberlei
f55b5411c8
[DDC-1791] Fix OutputWalker Pagination on Oracle
2012-05-27 13:22:48 +02:00
Benjamin Eberlei
548c997f7b
[DDC-1799] Fix bug in YamlExporter using OneToOne instead of ManyToOne
2012-05-27 09:57:46 +02:00
Benjamin Eberlei
70458b2f48
LGPL => MIT
2012-05-26 14:37:00 +02:00
Benjamin Eberlei
e2d15c3a04
Merge pull request #353 from pscheit/patch-1
...
prevent the validator to stop with an "undefined array index"-error
2012-05-22 10:09:01 -07:00
Philipp Scheit
e9f936c0ba
don't call exit() in execute()
2012-05-22 14:25:54 +03:00
Philipp Scheit
f1571aeac3
prevent the validator to stop with an "undefined array index"-error while validating a wrong inversedBy Attribute
2012-05-21 19:23:22 +03:00
Fabio B. Silva
e9974911fe
fix tests
2012-05-04 21:13:20 -03:00
Fabio B. Silva
67f0722211
change test to uses data provider
2012-05-04 21:13:19 -03:00
Fabio B. Silva
790d98133c
fix DDC-1694
2012-05-04 21:11:51 -03:00
Fabio B. Silva
9b02745cd8
Fix DDC-1784
2012-04-18 20:39:21 -03:00
Benjamin Eberlei
193ac077d6
Merge pull request #316 from fixe/patch-1
...
Fixes autoloading of generated Annotations
2012-04-16 09:48:50 -07:00
Osman Üngür
e69b022472
Fixed CS
2012-04-02 12:11:38 +03:00
Osman Üngür
4fc7389b1d
New cache driver definition for Doctrine running in non-dev mode and cache driver is not set.
...
This cache driver was added with doctrine/common#109
2012-04-02 11:57:09 +03:00
Tiago Ribeiro
975f3c4600
Fixes autoloading of generated Annotations
2012-04-01 02:59:03 +02:00
Benjamin Eberlei
ab15528fde
Fix CS: AS => as in foreach loops.
2012-03-24 11:16:32 +01:00
Hugo Hamon
c0620bf857
[Tools] removed unused local variable $assocName in ResolveTargetEntityListener class.
2012-03-24 11:07:41 +01:00
Hugo Hamon
ffa372a76c
[Tools] removed unused local variable in YamlExporter class.
2012-03-24 11:07:41 +01:00
Hugo Hamon
505537d4ce
[Tools] renamed AS to as in EntityGenerator class.
2012-03-24 11:07:41 +01:00
Hugo Hamon
68806aa8c6
[Tools] removed unused local variable $idHash in DebugUnitOfWorkListener class and renamed AS keywords to as.
2012-03-24 11:07:41 +01:00
Hugo Hamon
aca1470e6b
[Tools] removed unused local variable $cm in InfoCommand class.
2012-03-24 11:07:40 +01:00
Rivaros
df82b6060b
Convention fixes
2012-03-14 21:38:43 +01:00
Rivaros
06eed4cfda
Primary Keys as Foreign Keys - reverse engineering
2012-03-14 21:38:33 +01:00
Sander Marechal
53ff312936
Renamed *SqlWalker to *OutputWalker
2012-03-12 08:33:35 +01:00
Sander Marechal
ad871e8b26
Cleaned up use
statements
2012-03-08 09:41:35 +01:00
Sander Marechal
d2501a9e4a
Throw exception when using the CountWalker with a HAVING query
2012-03-07 08:42:09 +01:00
Sander Marechal
edd5d14b06
Pagination using SQL walkers
...
A CountSqlWalker and LimitSubquerySqlWalker have been implemented. By
default the Paginator will use these SQL walkers. When a query already
uses custom SQL walkers, the Paginator will fall back to the existing
TreeWalker implementations. Improvements:
* Support for more complex DQL queries using named mixed results with
GROUP BY and HAVING. For example:
SELECT g, u, COUNT(u.id) AS userCount
FROM Entity\Group g LEFT JOIN g.users u
GROUP BY g.id
HAVING userCount > 0
* Support for entities with composite primary keys in the CountSqlWalker
and LimitSubquerySqlWalker. Only the WhereInWalker still needs to be
updated for full composite primary key support. But someone smarter
than me needs to look at that and figure out how to build a WHERE IN
query that can select rows based on multiple columns.
2012-03-06 16:24:44 +01:00
Brikou CARRE
e130df4f42
According to "Doctrine's implicit CS" and "Symfony's implicit CS" an empty line added to the end of the file (...same tweaks like the one pushed for the entity generator)
2012-03-04 09:43:52 +01:00