Benjamin Eberlei
ce594fb152
[DDC-2256] Cleanup patch, move dependency on EntityManager out of ResultSetMapping and let AbstractQuery perform the translation.
2013-02-13 09:05:35 +01:00
Fabio B. Silva
719031f2ef
Merge pull request #569 from Ocramius/hotfix/pre-flush-event-args-params
...
Hotfix/pre flush event args params
2013-02-12 15:39:40 -08:00
Benjamin Morel
cba1c8295c
Fixed wrong return types in documentation.
2013-02-12 11:49:44 +00:00
Alexander
1a163cd48d
[DDC-2019] Add support for expression in QueryBuilder#addOrderBy()
2013-02-09 22:40:34 +01:00
Alexander
9bf501dd25
Revert "allowed to pass filter objects to the configurator"
...
This reverts commit a9b4debe37
. See the
discussion on the original PR:
https://github.com/doctrine/doctrine2/pull/434
Conflicts:
lib/Doctrine/ORM/Configuration.php
2013-02-09 20:28:52 +01:00
Marco Pivetta
673323fc67
Adding warnings about deprecation of GIT, TAR and PEAR autoloading
2013-02-04 23:30:02 +01:00
Marco Pivetta
f281dbbf54
Fixing incorrect constructor params for PreFlushEventArgs
2013-02-04 20:46:51 +01:00
Marco Pivetta
3ebed101fd
Strong typehinting to avoid incorrect constructor params
2013-02-04 20:45:58 +01:00
Guilherme Blanco
f0674ea034
Merge pull request #564 from BenMorel/f834c37f8a465ca3e23ee9ae62ef0bc4a525454c
...
Fix a wrong return type
2013-02-02 20:06:44 -08:00
Guilherme Blanco
114827a4b3
Merge pull request #565 from BenMorel/unusedvar
...
Removed an unused local variable.
2013-02-02 20:05:42 -08:00
Benjamin Morel
2bfbe03e37
Fixed return statements in SchemaTool.
2013-02-03 01:42:27 +00:00
Benjamin Morel
4b58c6fc41
Removed an unused local variable.
2013-02-03 01:05:43 +00:00
Benjamin Morel
f834c37f8a
Fixed a wrong return type.
2013-02-03 00:48:05 +00:00
Benjamin Eberlei
71a68a5c6f
Merge pull request #423 from FabioBatSilva/DDC-1955
...
DDC-1955 - @EntityListeners
2013-02-02 11:47:46 -08:00
Guilherme Blanco
dea37ed9e8
Merge pull request #554 from beregond/hydrator-fix
...
Fixed ObjectHydrator when namespace alias is given.
2013-02-02 11:18:00 -08:00
Jakub Vrana
819e5896bf
Fix error in QueryBuilder example
2013-01-30 11:11:09 -08:00
Fabio B. Silva
7177306536
remove extra comma
2013-01-29 12:14:53 -02:00
Fabio B. Silva
ec2d5af2c7
added missing file
2013-01-29 12:14:53 -02:00
Fabio B. Silva
e6d9d1de47
support naming convention for listeners without mapping.
2013-01-29 12:14:53 -02:00
Fabio B. Silva
46fea51622
use '!==' instead of '!='
2013-01-29 12:14:53 -02:00
Fabio B. Silva
e9c89cafb9
Fix DocBlock
2013-01-29 12:14:53 -02:00
Fabio B. Silva
6d7b3863b5
Use bitmask of subscribed event systems.
2013-01-29 12:14:53 -02:00
Fabio B. Silva
7b0f59ed7c
split override test
2013-01-29 12:14:53 -02:00
Fabio B. Silva
0d0fc320b4
Fix DocBlock
2013-01-29 12:14:53 -02:00
Fabio B. Silva
0d0f91a807
move listeners invocation from ClassMetadataInfo to ListenerInvoker
2013-01-29 12:14:53 -02:00
Fabio B. Silva
c60e3e4ba4
remove @LifecycleCallback
2013-01-29 12:14:52 -02:00
Fabio B. Silva
ffc8d032c7
Fix typo
2013-01-29 12:14:52 -02:00
Fabio B. Silva
195b639344
change xml driver to use <lifecycle-callback\>
2013-01-29 12:14:52 -02:00
Fabio B. Silva
6b7e588da5
fix CS
2013-01-29 12:14:52 -02:00
Fabio B. Silva
4be25cb330
small refactoring
2013-01-29 12:14:52 -02:00
Fabio B. Silva
8495eca1a4
rename test
2013-01-29 12:14:52 -02:00
Fabio B. Silva
a01d6583d3
implements a entity listener resolver
2013-01-29 12:14:52 -02:00
Fabio B. Silva
27745bb87b
Fix some CS
2013-01-29 12:14:52 -02:00
Fabio B. Silva
256cecbefa
evaluate as lifecycle callback if the listener class is not given.
2013-01-29 12:14:52 -02:00
Fabio B. Silva
fd6f592430
support @LifecycleCallback in @EntityListeners
2013-01-29 12:14:52 -02:00
Fabio B. Silva
f0b04375de
yaml driver
2013-01-29 12:14:52 -02:00
Fabio B. Silva
917aa70c97
test invalid class/method
2013-01-29 12:14:52 -02:00
Fabio B. Silva
7e54ae3702
xml driver
2013-01-29 12:14:52 -02:00
Fabio B. Silva
c6adcda567
give event to lifecycle callbacks
2013-01-29 12:14:52 -02:00
Fabio B. Silva
315f7ba43b
call listeners in UoW
2013-01-29 12:14:51 -02:00
Fabio B. Silva
3c223a59c4
move call listeners tests to AbstractMappingDriverTest
2013-01-29 12:14:51 -02:00
Fabio B. Silva
0f081d7c45
support short class name
2013-01-29 12:14:51 -02:00
Fabio B. Silva
368cf73f89
entity listeners mapping
2013-01-29 12:14:51 -02: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
Szczepan Cieślik
92ada246b5
[DDC-2256] Code improvements.
2013-01-26 09:09:21 +01:00
Szczepan Cieślik
935594578a
[DDC-2256] Code refactorization.
2013-01-25 13:15:14 +01:00
Szczepan Cieślik
d7f82221d1
[DDC-2256] Moved aliases translation to ResultSetMapping, fixed tests.
2013-01-25 12:06:13 +01:00
Szczepan Cieślik
23e0bb7345
Fixed ObjectHydrator when namespace alias is given.
2013-01-24 15:50:05 +01:00
Benjamin Eberlei
eedf85cbdb
[DDC-2243] Fix bug where a bigint identifier would be casted to an integer, causing inconsistency with the string handling.
2013-01-20 20:31:22 +01:00
Benjamin Eberlei
5298c03fce
[DDC-2246] Fix bug with UnitOfWork#getEntityState() and entities with foreign identifier.
2013-01-20 20:11:08 +01:00
Fabio B. Silva
93fba518a6
keep braces
2013-01-19 13:38:44 -02:00
Fabio B. Silva
4dcd5a1286
Fix DDC-2234
2013-01-18 23:18:50 -02:00
Fabio B. Silva
6074755b91
Fix DDC-1376
2013-01-13 22:39:59 -02:00
Benjamin Eberlei
6f572a61c7
Merge branch 'DDC-2231'
2013-01-12 10:29:20 +01:00
Guilherme Blanco
71efe2109a
Merge pull request #548 from nemekzg/DDC-2203
...
Fix for DDC-2203
2013-01-10 11:13:18 -08:00
nemekzg
cfd1b07ffe
Fix for DDC-2203
2013-01-10 16:52:19 +01:00
Stefan Kleff
dc925cc9c5
fixed indentation
...
Restored old way of injection to just inject it during a refresh
Added injection for initialized proxies
2013-01-10 15:19:44 +01:00
Stefan Kleff
151192ae37
The EntityManager was not injected in uninitialized proxys which are ObjectManagerAware.
...
I ran into that problem while I had two objects in the identitymap while hydrating a collection: one was new a "real" entity and the other one was an uninitialized proxy. For "real" entities the em is injected in line 2427, for new entities it is injected in 2436->2364, but for proxies this is missing. According to the comment "inject ObjectManager into just loaded proxies." the code in line 2427 should do this, but in fact it is just used if it is a "real" entity or an already initialized proxy. Moving the injection to outside of the condition in line 2411 (if the entity is an unitialized proxy) solves this.
2013-01-10 14:54:52 +01:00
Francesc Rosàs
1e669132c2
No huge if clause
2013-01-06 19:05:46 +01:00
Francesc Rosàs
9322ca7052
Ensure onFlush and postFlush events are always raised
2013-01-06 19:05:46 +01:00
Benjamin Eberlei
ce290bc99b
DDC-1698 - Allow autoload registration from a Configuration instance
2013-01-06 11:07:19 +01:00
Benjamin Eberlei
7dfe0cae08
DDC-1698 - Prepend autoloader to stack and fix CS
2013-01-06 11:03:58 +01:00
Benjamin Eberlei
4210969087
DDC-2192 - Prevent using append flag in case of where and having to avoid user confusion, because this is not allowed.
2013-01-06 10:33:57 +01:00
Benjamin Eberlei
90b6d5e293
Merge branch 'master' of github.com:doctrine/doctrine2
2012-12-24 10:40:52 +01:00
Benjamin Eberlei
e2c1ff1a48
[DDC-2175] Fix bug in JoinedSubclassPersister
2012-12-24 10:39:23 +01:00
Benjamin Eberlei
904effcf4e
Merge pull request #538 from FabioBatSilva/identity-composite-key
...
IDENTITY() Support composite primary key
2012-12-24 01:19:05 -08:00
Klein Florian
8443eee628
use base events
2012-12-24 10:15:25 +01:00
Benjamin Eberlei
e319e34783
Merge pull request #528 from BenMorel/master
...
Documentation fixes
2012-12-23 12:22:09 -08:00
Fabio B. Silva
3d99711ac8
fix PHPDoc
2012-12-22 10:36:23 -02:00
Fabio B. Silva
99ab58febd
Fix CS
2012-12-22 10:36:23 -02:00
Fabio B. Silva
2e90cd9924
Identity function support composite primary key
2012-12-22 10:36:23 -02:00
Benjamin Eberlei
6f5948746e
Merge pull request #540 from FabioBatSilva/DDC-2208
...
[DDC-2208] Fix DDC-2208
2012-12-22 03:53:14 -08:00
Benjamin Eberlei
015771f10b
Merge pull request #541 from PSchwisow/master
...
Fix DDC-1690
2012-12-22 03:38:03 -08:00
Patrick Schwisow
0b21046fce
[DDC-1690] Added an empty line as requested.
2012-12-21 15:35:32 -06:00
Fabio B. Silva
eda43c77bb
Fix DDC-2208
2012-12-21 10:00:40 -02:00
Fabio B. Silva
2104ae9935
fix DDC-2205
2012-12-20 23:06:30 -02:00
Patrick Schwisow
5627993827
Fix DDC-1690
...
Added the lines suggested by the original reporter.
2012-12-20 15:31:46 -06: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 Eberlei
7c337748b6
DDC-2199 / DDC-2192 - Versioned fields didnt work in XML/YAML mapping
2012-12-16 12:57:53 +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
Benjamin Morel
ba16789843
Fixed documentation for Doctrine\ORM\Query
2012-12-13 16:36:14 +00:00
Benjamin Morel
28966e2087
Fixed documentation for Doctrine\ORM\Query\Expr and Doctrine\ORM\Query\Filter
2012-12-13 12:05:34 +00:00
Benjamin Morel
d4357801a2
Fixed documentation for Doctrine\ORM\Query\Exec
2012-12-13 11:57:46 +00:00
Benjamin Morel
98ac6b5fec
Fixed documentation for Doctrine\ORM\Query\AST
2012-12-13 11:52:19 +00:00
Benjamin Morel
f743da0e02
Fixed documentation for Doctrine\ORM\Query\AST\Functions
2012-12-13 10:42:25 +00:00
Benjamin Morel
42e83a2716
Fixed documentation for ORM\Proxy
2012-12-13 10:28:55 +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
Benjamin Morel
159ece8943
Fixed documentation for ORM\Persisters
2012-12-03 10:15:43 +00:00
Benjamin Morel
46e6ada4f9
Fixed documentation for ORM\Mapping
2012-12-03 09:36:08 +00:00
Benjamin Morel
4714a53c32
Fixed documentation for ORM\Internal
2012-12-02 19:46:34 +00:00
Benjamin Morel
fad22d1e60
Fixed documentation for ORM\Event and ORM\Id
2012-12-02 12:37:56 +00:00
Benjamin Morel
dacdd6cd89
Documentation (docblock) fixes.
2012-12-01 16:28:06 +00:00
Benjamin Morel
26d6f5ce4e
Fixed coding standard issue, as per @stof's request.
2012-11-30 19:10:53 +00:00
Benjamin Morel
5edc287848
Fixed documentation for Doctrine\ORM\Query\AST\Node::dispatch().
2012-11-30 11:41:03 +00:00
Guilherme Blanco
29f0b678cf
Merge pull request #526 from FabioBatSilva/DDC-2172
...
[DDC-2172] Fix EntityGenerator get literal type
2012-11-27 12:14:12 -08:00
Guilherme Blanco
f4c0fd1744
Added support to subselects in update item.
2012-11-27 14:36:56 -05: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
Jan Kramer
5b3f54429a
[DDC-2074] Fixed bug regarding clearing PC's without owner
...
When calling clear on a PC that has no owner (e.g. because it was
cloned), it can't be deleted as there is no metadata available.
In these cases, it shouldn't be scheduled for deletion.
2012-11-25 19:27:39 +01:00
Benjamin Eberlei
05e5ae8bfa
Merge pull request #413 from FabioBatSilva/refactory-persisters
...
code refactorings on persister
2012-11-25 03:50:52 -08:00
Benjamin Eberlei
173333c861
Merge pull request #517 from nemekzg/DDC-1765
...
Fix for DDC-1765
2012-11-25 03:38:39 -08:00
Benjamin Eberlei
8457a9e77e
Merge pull request #518 from Fran6co/fix-double-on
...
regression fix for left joins (double ON)
2012-11-25 03:27:17 -08:00
Francisco Facioni
c84099508f
added outer left join
2012-11-22 09:59:44 -03:00
Francisco Facioni
9c59ed5891
regression fix for left joins (double ON)
2012-11-20 12:30:52 -03:00
Lukasz Cybula
08a3423ce2
CS fixes
2012-11-20 12:42:05 +01:00
Lukasz Cybula
2c99ecf586
Extended TreeWalker interface with getQueryComponenets() and setQueryComponent() which are used by the Parser class
2012-11-20 12:42:05 +01:00
Benjamin Eberlei
941670aa9d
[DDC-2055] Add EntityRepository#createResultSetMappingBuilder()
2012-11-19 17:09:18 +01:00
Benjamin Eberlei
17bb564534
[DDC-2055] Some adjustments to ResultSetMappingBuildder patch
2012-11-19 16:54:56 +01:00
nemekzg
727647902c
Fix for DDC-1765
2012-11-17 16:18:18 +01:00
Fabio B. Silva
77827303d2
Fix CS
2012-11-13 14:54:37 -02:00
Fabio B. Silva
a07c63dde6
added support for @Enum
2012-11-13 14:13:48 -02: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
Benjamin Eberlei
79315cb7de
Merge pull request #510 from ruian/patch-2
...
CS on QueryBuilder
2012-11-12 02:52:54 -08:00
Marco Pivetta
7520a745c2
Fixing reference to Doctrine\ORM\Version
2012-11-12 11:31:19 +01:00
Julien 'ruian' Galenski
055d7f261c
CS on queryBuilder
2012-11-12 10:23:50 +01:00
Metod
cfee331006
SchemaTool ignoring 'fixed' option fixed
2012-11-07 16:31:31 +01:00
Matthieu Napoli
e15cf324c3
Fix and test for DDC-2073
2012-11-06 15:05:53 +01:00
Fabio B. Silva
122569eee0
Fix CS
2012-11-05 22:52:43 -02:00
Fabio B. Silva
0fa89647d2
Fix DocBlock
2012-11-05 22:52:42 -02:00
Fabio B. Silva
ecaa3fd03e
Third round of refactorings on BasicEntityPersister
2012-11-05 22:52:42 -02:00
Fabio B. Silva
c8899c2b3b
second round of CS fixes
2012-11-05 22:52:42 -02:00
Fabio B. Silva
a295525501
Fix some CS
2012-11-05 22:52:41 -02:00
Fabio B. Silva
827153624c
Second round of refactorings on BasicEntityPersister
2012-11-05 22:52:41 -02:00
Fabio B. Silva
04e1838c92
change 'use' statements
2012-11-05 22:52:41 -02:00
Fabio B. Silva
14a2b61671
code refactoring on SingleTablePersister
2012-11-05 22:52:40 -02:00
Fabio B. Silva
9a041c8fdb
code refactoring on OneToManyPersister
2012-11-05 22:52:40 -02:00
Fabio B. Silva
2b1aaebe18
code refactoring on ManyToManyPersister
2012-11-05 22:52:40 -02:00
Fabio B. Silva
07492bda9d
fix JoinedSubclassPersister#delete when supports foreign key
2012-11-05 22:52:39 -02:00
Fabio B. Silva
3156c1549d
code refactoring on JoinedSubclassPersister
2012-11-05 22:52:39 -02:00
Fabio B. Silva
308b54a8f3
code refactoring on BasicEntityPersister
2012-11-05 22:52:39 -02:00
Fabio B. Silva
7e348b7815
small refacory on AbstractEntityInheritancePersister
2012-11-05 22:50:24 -02:00
Fabio B. Silva
e6f08f0b92
remove '_' prefix at AbstractCollectionPersister
2012-11-05 22:50:23 -02:00
Fabio B. Silva
b998a522b0
remove '_' prefix at BasicEntityPersister
2012-11-05 22:50:23 -02:00
Guilherme Blanco
d6d5c341e2
Merge pull request #486 from FabioBatSilva/DDC-2084
...
Fix DDC-2084
2012-11-05 16:38:35 -08:00
Guilherme Blanco
262c3eea6b
Merge pull request #506 from FabioBatSilva/DDC-2121
...
Fix DDC-2121
2012-11-05 16:27:34 -08:00
Fabio B. Silva
c4e6a04676
remove duplicate return statement
2012-11-05 22:23:44 -02:00
Fabio B. Silva
a09a5b9b7b
Fix DDC-2084
2012-11-05 22:23:44 -02:00
Guilherme Blanco
57e5fa9873
Merge pull request #496 from arse/master
...
Testing for key existance in basicEntityPersister / getIndividualValue
2012-11-05 16:20:26 -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
Guilherme Blanco
863d14a61a
Merge pull request #503 from sebastianbauer/master
...
added unsigned mapping to SchemaTool options
2012-11-05 16:16:25 -08:00
Guilherme Blanco
7a895209e3
Merge pull request #502 from gwis/master
...
Fix for invalid 'double-ON' SQL generation with entity inheritance type JOINED.
2012-11-05 16:15:45 -08:00
Guilherme Blanco
283ed55824
Merge pull request #504 from nemekzg/DDC-1241
...
Proposed fix for DDC-1241
2012-11-05 16:14:48 -08:00
Guilherme Blanco
6949a95782
Merge pull request #505 from BenMorel/fix-errors
...
Fix errors in JoinClassPathExpression and SqlWalker
2012-11-05 16:12:31 -08:00
Fabio B. Silva
2f7e970c5f
Fix DDC-2121
2012-11-05 21:53:07 -02:00
Benjamin Morel
88b29a4e59
Fixed errors:
...
- Typo in variable name in JoinClassPathExpression;
- Undefined class AST\ArithmeticPrimary (x2);
- QueryException::invalidPathExpression() expects a PathExpression, not a string.
2012-11-05 14:45:57 -08:00
nemekzg
9705ee89d9
Proposed fix for DDC-1241
2012-11-05 19:55:54 +01:00
Sebastian Bauer
a27be2fab6
added unsigned mapping to SchemaTool options
2012-11-05 19:49:16 +01:00
Gordon Stratton
9e916a2893
Fix for invalid 'double-ON' SQL generation with entity inheritance type JOINED.
...
In SqlWalker::walkJoin(), SqlWalker::walkRangeVariableDeclaration() can be
called which may produce an 'ON' clause if the entity inheritance type is
JOINED. As walkJoin() may then produce another ON clause, this results in
invalid SQL (e.g. '... ON foo = bar ON (baz = quux) ...' when the inheritance
type is JOINED.
This adds a test and a fix for the problem, by checking for an inheritance type
of JOINED in walkJoin() and using AND instead of ON in the appropriate place.
It seems like this part of the code is begging to be refactored. This is my
first foray into Doctrine internals and can't see a way to do this without
stomping all over the rest of the code, but this section seems ripe for cleanup
by somebody who is familiar.
2012-11-05 01:19:25 -08:00
Jeremy Marc
26dd533662
Compare to null instead of using isset
2012-11-04 19:04:13 -08:00
Jeremy Marc
84477440b6
Allow 0 id for Entity
...
When using a 0 id, it's throwing InvalidArgumentException (Binding entities to query parameters only allowed for entities that have an identifier.)
2012-11-04 17:41:08 -08: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
TR
73e6164096
Update lib/Doctrine/ORM/Persisters/BasicEntityPersister.php
...
coding standards change
2012-11-03 09:47:08 +00:00
Guilherme Blanco
7d7287a1ba
Merge pull request #434 from bamarni/filter-objects
...
allowed to pass filter objects to the configurator
2012-11-02 17:52:23 -07:00
Guilherme Blanco
ec1950d3ca
Merge pull request #448 from stefanklug/master-parserFix
...
Fixed Parser problem for SELECT (((3))) as ....
2012-11-02 17:46:43 -07:00
Guilherme Blanco
515847bece
Merge pull request #498 from lanthaler/improve-generated-entity-doc
...
Improve DocBlock annotations of generated entities
2012-11-02 17:27:11 -07:00
Guilherme Blanco
409516e86c
Merge pull request #499 from md2perpe/master
...
Speling: "invidiual" -> "individual"
2012-11-02 11:13:19 -07:00
Per Persson
b5ac85d19a
Update lib/Doctrine/ORM/Persisters/BasicEntityPersister.php
...
Speling
2012-11-02 18:37:46 +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
Vaughn Clayton
ae30ce4596
[DDC-2113] Surround WHERE clause with parens if using SQLFilter
2012-11-02 08:48:57 -04:00
TR
185a0fb19c
refactoring getIndividualValue for valid key value
...
refactoring getIndividualValue
2012-11-02 00:33:55 +00:00
TR
a65996f74c
notice is thrown up if no identifier values found
...
wrapping the setting of value with an array_key_exists to prevent a notice from being thrown
2012-11-01 23:59:57 +00: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
Martin Hasoň
7f33143502
Added NOT LIKE expression
2012-10-25 12:58:19 +02:00
Michal Piotrowski
a55b46b4bf
remove unused classes
2012-10-23 18:19:28 +02:00
Guilherme Blanco
9d0b254407
Merge pull request #481 from beejeebus/master
...
check for false as a return value from get_parent_class(), not null
2012-10-21 20:54:22 -07:00
Guilherme Blanco
38d8c7f0d9
Merge pull request #467 from docteurklein/fix-bool-type-binding
...
add bool detection when inferring type
2012-10-21 18:39:29 -07: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
Guilherme Blanco
cd7ef6e7a7
Merge pull request #484 from jappie/master
...
Prevented "Undefined index" notice when updating
2012-10-21 18:35:38 -07:00
Guilherme Blanco
814f2f9e03
Merge pull request #487 from FabioBatSilva/DDC-2069
...
Fix DDC-2069
2012-10-20 20:00:54 -07:00
Fabio B. Silva
fb467a1196
Fix DDC-2079
2012-10-20 15:37:13 -03:00
Fabio B. Silva
86fddfed9a
Fix DDC-2069
2012-10-20 00:28:38 -03:00
Jasper N. Brouwer
0cfc37d757
Prevented "Undefined index" notice when updating
...
While executing updates on an entity scheduled for update without
a change-set, an "Undefined index" notice is raised.
2012-10-17 21:50:09 +02:00
justin.randell
ca82a4720b
check for false as a return value from get_parent_class(), not null
2012-10-16 15:04:25 +11:00
Benjamin Eberlei
deb6327b56
[DDC-2067] Refactor and fix bug in boolean evaluation inside XML Driver.
2012-10-12 21:47:09 +02:00
jakoch
d4a6c488ca
fixed use statements
2012-10-12 13:53:20 +02:00
jakoch
ec5ad7136f
fix typo
2012-10-12 13:37:17 +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