Ryan Weaver
79643e32ed
[Tools][Console] Refactoring the UpdateCommand
...
There are two basic changes:
1) Changed --force and --dump-sql from options to a single argument. Prior, you couldn't pass both options simultaneously anyways, so making them an argument is more accurate.
2) Changed the language and formatting of the task to be more user-friendly.
2011-06-03 08:02:51 -05:00
Guilherme Blanco
93521217a6
Moved getQuoted* from ClassMetadata to ClassMetadataInfo, since SchemaTool relies on them, making impossible to work with DisconnectedClassMetadataFactory.
2011-05-26 02:18:29 -03:00
Benjamin Eberlei
ca6ea65b1f
Merge branch 'NewAnnotations'
2011-05-25 00:36:10 +02:00
Benjamin Eberlei
3adbf0de39
Add forward compatibility with Doctrine Common 3.0
2011-05-25 00:35:57 +02:00
Johannes Schmitt
a0d79b03e7
[AnnotationDriver] compatibility with Doctrine Common 3.x
2011-05-25 00:32:55 +02:00
Benjamin Eberlei
2b3d0a209c
Merge branch 'NewAnnotations'
2011-05-25 00:26:29 +02:00
Benjamin Eberlei
6d724ad9ff
Make ORM forward compatible with new Doctrine Annotations library version 2.1
2011-05-25 00:26:20 +02:00
Benjamin Eberlei
0bb0937372
Started UPGRADE_TO_2_1 document
2011-05-20 21:13:25 +02:00
Benjamin Eberlei
85fb1a3ebb
Merge branch 'master' of github.com:doctrine/doctrine2
2011-05-18 19:37:32 +02:00
Benjamin Eberlei
a979852ee6
Merge branch 'DDC-1080'
2011-05-17 23:42:39 +02:00
Benjamin Eberlei
9ea03de84f
DDC-1080 - Fix bug with hydration of derived entities/foreign key as primary key.
2011-05-17 23:42:24 +02:00
Benjamin Eberlei
9f01e9563f
Bump Dev Version to 2.1.0BETA2-DEV
2011-05-16 19:35:00 +00:00
Benjamin Eberlei
f4021e7469
Update Doctrine Common to latest version and add new methods to ClassMetadataInfo
2011-05-16 20:42:38 +02:00
Benjamin Eberlei
5d81e867be
Add some logic to keep backwards compatibility in QueryBuilder
2011-05-15 23:16:44 +02:00
Benjamin Eberlei
85d40847ac
Reintroduce QueryBuilder::getRootAlias() for backwards compatibility reasons, mark as @deprecated
2011-05-15 22:11:10 +02:00
Benjamin Eberlei
5e938b3147
Revert "Implemented auto-inference of isCascadeRemove when orphanRemoval is defined (marked as todo)."
...
This reverts commit 551247d11a
.
2011-05-15 20:39:55 +02:00
Benjamin Eberlei
2cfdf2b05d
Merge branch 'master' of github.com:doctrine/doctrine2
2011-05-15 20:18:47 +02:00
Benjamin Eberlei
d45f7c1302
DDC-694 - Add info command
2011-05-15 20:18:31 +02:00
Benjamin Eberlei
34ad2ccbf1
Merge pull request #23 from kertz/master
...
LifecycleCallbackMethods Beautification
2011-05-15 10:40:23 -07:00
Benjamin Eberlei
83372bd144
Merge pull request #23 from kertz/master
...
LifecycleCallbackMethods Beautification
2011-05-15 10:39:44 -07:00
Benjamin Eberlei
1b4f0a5e1f
DDC-1080 - Add failing testcase
2011-05-14 13:32:12 +02:00
Benjamin Eberlei
14d630ae1c
Merge branch 'DDC-1151'
2011-05-14 08:44:49 +02:00
Benjamin Eberlei
cb3615ab47
DDC-1151 - Fix missing table quotes when adding foreign keys in SchemaTool
2011-05-14 08:44:19 +02:00
Benjamin Eberlei
e66970b78b
Merge branch 'master' of github.com:doctrine/doctrine2
2011-05-14 08:16:21 +02:00
Guilherme Blanco
2a7364bb18
We now support @Id on @ManyToOne fields. Removed TODO and associated code.
2011-05-14 00:53:22 -03:00
Guilherme Blanco
f4d62b317e
Fixed endless recursion of DDC-719 test.
2011-05-14 00:49:46 -03:00
Guilherme Blanco
551247d11a
Implemented auto-inference of isCascadeRemove when orphanRemoval is defined (marked as todo).
2011-05-14 00:43:33 -03:00
Guilherme Blanco
08f2af489e
Changed QueryBuilder to allow retrieval of all defined root alises.
2011-05-14 00:40:23 -03:00
Guilherme Blanco
e538128645
[DDC-1029] renaming "load()" in proxy to "__load()"
2011-05-13 00:23:27 -03:00
Guilherme Blanco
1e9e2de737
[DDC-1122] Added coverage for bug report.
2011-05-13 00:12:05 -03:00
Guilherme Blanco
8e3fdc5adc
[DDC-1148] Implement auto-inference of types in setParameter.
2011-05-12 23:05:45 -03:00
Benjamin Eberlei
814473c27d
Merge pull request #35 from brikou/master
...
[DDC-1136] prevent backup file to be recognized as valid Entity file
2011-05-12 05:41:31 -07:00
Guilherme Blanco
a45a02fd64
Merge branch 'master' of github.com:doctrine/doctrine2
2011-05-11 21:40:43 -03:00
Guilherme Blanco
905e05cd36
[DDC-1067][DDC-1145] Fixed bug with multiple froms and inclusion of joins. Added support for index by in QueryBuilder. This break BC only if users are using base support (->add).
2011-05-11 21:40:27 -03:00
Benjamin Eberlei
75b69f946d
Merge pull request #57 from stof/DDC-1146
...
[DDC-1146] Updated the Symfony2 vendors
2011-05-11 16:14:25 -07:00
Christophe Coevoet
a112be79ef
[DDC-1146] Updated the Symfony2 vendors
2011-05-12 01:10:34 +02:00
Guilherme Blanco
54a0109d5d
[DDC-1147] Allowed usage of 0-based input parameters in DQL.
2011-05-11 17:30:42 -03:00
Guilherme Blanco
0d0d61935f
Merge pull request #53 from Garfield-fr/master
...
Fixed typo
2011-05-08 05:18:46 -07:00
Bertrand Zuchuat
b959ab37bf
Typo
2011-05-08 13:57:08 +02:00
Guilherme Blanco
b025b2b343
Fixed where componentes (ie. MEMBER OF) that that are sensitive to parenthesis presence. Made OR and AND expressions smarter. Fixed related unit tests.
2011-05-07 20:14:04 -03:00
Guilherme Blanco
bffca232e2
Merge branch 'master' of github.com:doctrine/doctrine2
2011-05-06 01:42:01 -03:00
Guilherme Blanco
19dfe7b891
Added method to allow retrieve all registered entity namespace aliases.
2011-05-06 01:41:34 -03:00
Benjamin Eberlei
ce1e446227
Merge branch 'master' of github.com:doctrine/doctrine2
2011-05-03 17:06:42 +02:00
Benjamin Eberlei
5d1905de13
DDC-1120 - Fix comment
2011-05-01 12:17:09 +02:00
Benjamin Eberlei
23131d6860
Merge branch 'DDC-1129'
2011-05-01 11:45:39 +02:00
Benjamin Eberlei
d4569baa11
[DDC-1129] Fix bug in version changeset computation aswell as inline ClassMetadata::isCollectionValuedAssociation to increase performance by 2-5%
2011-05-01 11:44:31 +02:00
Benjamin Eberlei
b5520aa304
Merge branch 'DDC-1091'
2011-05-01 11:01:39 +02:00
Benjamin Eberlei
c53baa9935
[DDC-1091] Fix bug with custom string functions in StringPrimary
2011-05-01 11:01:30 +02:00
Benjamin Eberlei
d0b95bb31c
Merge branch 'DDC-1043'
2011-05-01 10:21:59 +02:00
Benjamin Eberlei
7a068c206e
DDC-1043 - Make computeChangeSet() algorithm more strict, possible leading to more updates to to values that are not exactly the same. However this is necessary to avoid bugs with certain PHP casting rules, i.e. +44 = 44
2011-05-01 10:21:47 +02:00