Alexander
65f7e897b5
[DDC-1294] Add discriminator information to subselects
2011-07-26 00:19:26 +02:00
Guilherme Blanco
4b85d7a683
Reverted PR #86 , which broke our suite.
2011-07-22 11:38:20 -03:00
Guilherme Blanco
4be7c3dac0
Merge pull request #85 from FabienPennequin/fix_ClassMetadataFactory
...
Fixed php notice in ClassMetadataFactory
2011-07-21 10:02:15 -07:00
kwiateusz
570799b48d
Restoring the missing comment
2011-07-21 04:13:15 -07:00
kwiateusz
0e6121e8f5
Now findByOne really retrieve only one entity adding limit to query
2011-07-21 12:40:43 +02:00
Fabien Pennequin
99bdf65c10
Fixed php notice in ClassMetadataFactory
2011-07-17 19:39:55 +02:00
Benjamin Eberlei
d9b1dbbb09
DDC-1244 - Fix bug with entities without namespace
2011-07-12 23:43:24 +02:00
Benjamin Eberlei
c87dedbec5
DDC-1254 - Dont throw exception about missing id in disconnected metadata factory
2011-07-12 23:39:56 +02:00
Benjamin Eberlei
4796452b07
DDC-1268 - Singular add*() method name through using targetEntity shortname
2011-07-12 23:25:15 +02:00
Benjamin Eberlei
98fabd98be
DDC-1240 - Fix optimistic lock exception loosing the message
2011-07-12 22:50:21 +02:00
Benjamin Eberlei
5733574867
Merge branch 'master' of github.com:doctrine/doctrine2
2011-07-12 22:47:33 +02:00
Benjamin Eberlei
c261315ea7
DDC-1250 - Fix bug with inverse one to one loading and ambigious column names in certain scenarios
2011-07-09 22:11:49 +02:00
Benjamin Eberlei
442a2b3a51
DDC-1257 - Fix bug where validation callbacks are added multiple times in EntityGenerator
2011-07-09 15:11:16 +02:00
Benjamin Eberlei
a8048af65d
DDC-1251 - Fix bug in token parsing of EntityGenerator
2011-07-09 14:53:25 +02:00
Benjamin Eberlei
d7da292f60
Merge remote branch 'origin/master'
2011-07-09 14:43:04 +02:00
Benjamin Eberlei
2b207106a3
DDC-1022 - Call __wakeup() with the same semantics then ClassMetadata::newInstance() does inside UnitOfWork
2011-07-09 12:12:44 +02:00
Guilherme Blanco
9d1a647753
Merge branch 'master' of github.com:doctrine/doctrine2
2011-07-08 16:27:20 -03:00
Guilherme Blanco
b6bd46dbed
General fix for end point as file extension on Annotation driver.
2011-07-08 16:26:54 -03:00
Benjamin Eberlei
ac76dafe62
Add doccomments, refactor into listener and dump method to allow re-use
2011-07-08 14:32:12 +02:00
Benjamin Eberlei
ef663c83f3
DDC-1258 - Add Debug UnitOfWork Listener
2011-07-08 14:27:59 +02:00
Benjamin Eberlei
024b7b7cb6
Bump Dev Version to 2.2.0-DEV
2011-07-04 21:34:59 +00:00
Benjamin Eberlei
dfdb735306
Release 2.1.0
2011-07-04 21:34:47 +00:00
Benjamin Eberlei
cb49648eed
Bump Common and DBAL to 2.1
2011-07-04 21:33:36 +00:00
Benjamin Eberlei
2858b8290f
DDC-1238 - Fixed a bug introduced when refactoring persisters hydration. This occurs when you call $em->clear() and you start accessing a proxy.
2011-07-04 23:19:08 +02:00
Guilherme Blanco
438dd9141f
Merge branch 'master' of github.com:doctrine/doctrine2
2011-07-04 11:38:45 -03:00
Guilherme Blanco
db37d974c8
Increasing visibility of AnnotationReader inside AnnotationDriver from private to protected.
2011-07-04 11:33:44 -03:00
Benjamin Eberlei
6b54cceed7
Moved AnnotationRegistry::registerFile() call to Configuration#newDefaultAnnotationDriver() and documented the migration in UPGRADE_TO_2_1
2011-07-03 12:21:04 +02:00
Guilherme Blanco
550fcbc17f
[DDC-1237] Fixed issue with QueryBuilder where user may have includes nested complex expression in a string format while consuming a composite expression (AND or OR).
2011-07-03 01:48:18 -03:00
Benjamin Eberlei
ffca455788
Bump Dev Version to 2.1.0RC4-DEV
2011-07-02 20:29:02 +00:00
Benjamin Eberlei
e4f2a56277
Release 2.1.0RC3
2011-07-02 20:28:37 +00:00
Benjamin Eberlei
43d8466fa9
Update annotation handling in AnnotationDriver to work with AnnotationRegistry and bump common dependency
2011-07-02 19:48:43 +02:00
Benjamin Eberlei
5299bd788f
DDC-1239 - Fix missing AND in Eager LEFT JOIN of entity persister when multiple join columns are used
2011-06-30 21:04:46 +02:00
Benjamin Eberlei
a0a81db045
DDC-1204, DDC-1203 - No need to throw this exception for abstract classes anymore
2011-06-30 20:57:29 +02:00
Benjamin Eberlei
5362206297
Revert "Fixed ClassMetadataFactory which was throwing an exception if parent class on inheritance hierarchy is an abstract class and also extends from a mapped superclass (so it contains an inheritance already), but is not in the discriminatorMap."
...
This reverts commit 4603e94fe9
.
Making an exception go away is not a fix for something. :)
2011-06-30 20:12:22 +02:00
Guilherme Blanco
4603e94fe9
Fixed ClassMetadataFactory which was throwing an exception if parent class on inheritance hierarchy is an abstract class and also extends from a mapped superclass (so it contains an inheritance already), but is not in the discriminatorMap.
2011-06-30 15:04:57 -03:00
Johannes Schmitt
5701036068
added @Annotation to annotations
2011-06-30 11:03:32 +02:00
Benjamin Eberlei
6d035be3e3
Bump Dev Version to 2.1.0-DEV
2011-06-28 21:11:14 +00:00
Benjamin Eberlei
01935e6661
Release 2.1.0RC2
2011-06-28 21:11:02 +00:00
Benjamin Eberlei
f1c073e080
Merge branch 'master' of github.com:doctrine/doctrine2
2011-06-28 22:30:24 +02:00
Benjamin Eberlei
66e92b147d
Minor spelling mistake, thanks Alexandre Mathieu for reporting
2011-06-28 22:30:17 +02:00
Michael Ridgway
9ae30421dd
Removed onUpdate property on join columns
2011-06-28 15:50:14 -04:00
Benjamin Eberlei
53c799987d
Merge pull request #78 from mweimerskirch/patch-1
...
Removed superfluous variable name in "@return" documentation
2011-06-28 12:49:37 -07:00
Benjamin Eberlei
551f6d05d9
DDC-1230 - Fix bug where UnitOfWork does not set STATE_REMOVE when calling EntityManager#remove() on an entity
2011-06-28 21:37:53 +02:00
Michel Weimerskirch
e899205300
Removed superfluous variable name in "@return" documentation
2011-06-28 12:24:24 -07:00
Benjamin Eberlei
ed516edf90
Fix discriminator casing problem in Oracle
2011-06-26 17:49:34 +02:00
Benjamin Eberlei
69944017d2
Merge branch 'master' of github.com:doctrine/doctrine2
2011-06-26 10:11:29 +02:00
Benjamin Eberlei
7efe071ac4
DDC-1224 - Bugfix with temporary table ids and tables in schema (in postgresql)
2011-06-26 10:10:57 +02:00
Ruben de Vries
a607e2ec7a
fixed wrong keyname
2011-06-25 17:08:56 +02:00
Benjamin Eberlei
a73a1e8437
DDC-1226, DDC-1228 - Bugfix with refereshing proxy references not setting the originalEntityData.
2011-06-25 14:38:44 +02:00
Benjamin Eberlei
0dd1dc20c8
DDC-1227 - Fix regression in QueryBuilder::add() due to Expr\From refactoring.
2011-06-25 10:25:22 +02:00
Benjamin Eberlei
10b70df1af
DDC-1218, DDC-1156 - Fixed bugs with mapped superclasses in inheritance hierachies
2011-06-25 10:20:37 +02:00
Benjamin Eberlei
a5cddb0c11
Merge branch 'master' of github.com:doctrine/doctrine2
2011-06-20 21:26:33 +02:00
Benjamin Eberlei
3717ae3c53
strtolower() on cascade information avoids problem with case-sensitivity in YAML and annotations mapping driver.
2011-06-20 21:26:12 +02:00
Johannes Heinen
c05fffcc93
Suppressed php undefined variable notice adding initialization code to Doctrine\ORM\Mapping\Driver\DatabaseDriver.php
2011-06-20 19:07:03 +02:00
Benjamin Eberlei
c7c430032c
DDC-1211 - Fix bug with empty numeric literal
2011-06-19 10:17:35 +02:00
Benjamin Eberlei
1c2ade61ab
DDC-1214 - Fix UpdateCommand::getFullName()
2011-06-19 10:05:30 +02:00
Benjamin Eberlei
c62e27898c
Merge branch 'master' of github.com:doctrine/doctrine2
2011-06-19 09:42:45 +02:00
Benjamin Eberlei
82f0c244e8
DDC-1189 - Bugfix with PersistentCollection#clear() in combination with lazy loading
2011-06-19 09:39:34 +02:00
Benjamin Eberlei
197744a57f
Bump Dev Version to 2.1.0RC2-DEV
2011-06-18 22:08:52 +00:00
Benjamin Eberlei
054ac220ac
Release 2.1.0RC1
2011-06-18 22:08:37 +00:00
Benjamin Eberlei
decd1482de
Fix bug in ChangeTrackingNotify code
2011-06-18 23:06:07 +02:00
Benjamin Eberlei
32b146ea8a
Switch testsuite to run with phpunit.ini.dist from main folder, not using AllTests approach. Fixed global state problem in tests that was caused by EventManager being reused. Significantly enhanced error message about cascade persist
2011-06-18 22:47:21 +02:00
Benjamin Eberlei
ede68ec87b
Merge branch 'master' of github.com:doctrine/doctrine2
2011-06-18 01:05:48 +02:00
Benjamin Eberlei
02f06b6d52
Add convenience Setup Tool to register autoloaders and create configuration objects
2011-06-18 01:05:30 +02:00
Guilherme Blanco
699ccfddb6
Implemented COALESCE and NULLIF support in DQL.
2011-06-17 16:16:22 -03:00
Guilherme Blanco
626e467a17
Implemented COALESCE and NULLIF support in DQL.
2011-06-17 16:15:19 -03:00
Guilherme Blanco
1fed340793
Optimized AnnotationDriver to filter found files during getAllClassnames().
2011-06-16 19:54:50 -03:00
Benjamin Eberlei
0cd0ae49a1
Fix regression introduced with DDC-1203,DDC-1204 patch
2011-06-16 23:00:59 +02:00
Benjamin Eberlei
713f4654fd
Merge remote-tracking branch 'origin/master'
2011-06-16 22:49:29 +02:00
Benjamin Eberlei
42c5382a03
DDC-1172 - Handle sequence dropping in SchemaTool.
2011-06-16 22:34:04 +02:00
Guilherme Blanco
98bc3c4e40
Merge pull request #74 from mridgway/DDC-1209
...
[DDC-1209] Fixed custom object types as @Id
2011-06-16 07:15:40 -07:00
Michael Ridgway
d1106a730b
Made DDC-1209 test pass
2011-06-16 08:55:09 -04:00
Michael Ridgway
da2d83fc7d
DDC-1209 tests
2011-06-15 17:15:46 -04:00
Benjamin Eberlei
5ff44b5ec7
DDC-1203, DDC-1204 - Fix problems with mapped superclasses in midth of inheritance hierachy and entities not mapped in discriminator map.
2011-06-15 22:27:24 +02:00
Fabien Potencier
b37c8f6a23
Update Symfony2 vendors
2011-06-14 17:01:33 +02:00
Benjamin Eberlei
12dfb5ee38
Merge pull request #67 from Nico-B/master
...
joinTable error with DB to YML generator
2011-06-12 13:09:32 -07:00
Bertrand Zuchuat
c7eaf77d15
Renamed function getFullName with getName to match with last change on Symfony Console
2011-06-12 14:46:02 +02:00
NicoB
524c799e37
Merge remote-tracking branch 'remotes/upstream/master'
2011-06-11 17:56:50 +07:00
Benjamin Eberlei
fe527fbf1a
Merge pull request #59 from asm89/databasedriver-patch
...
Implemented tableName -> className and columnName -> fieldName mapping in DatabaseDriver.
2011-06-11 03:15:16 -07:00
Benjamin Eberlei
037daff891
Merge pull request #65 from weaverryan/update_command
...
[Tools][Console] Refactoring the UpdateCommand
2011-06-11 01:16:25 -07:00
Benjamin Eberlei
9945296472
Merge pull request #61 from stof/EntityGenerator_3
...
Updated the EntityGenerator to be compatible with Common 3.0.x
2011-06-11 01:13:05 -07:00
Guilherme Blanco
fdbc909bde
Merge branch 'master' of github.com:doctrine/doctrine2
2011-06-09 15:43:37 -03:00
Guilherme Blanco
1f6b49d236
Added getRootEntities to QueryBuilder.
2011-06-09 15:42:40 -03:00
NicoB
3cdb4e007d
joinTable can be undefined because ManyToMAny generation is bidirectional with inverse sides
2011-06-07 18:55:52 +07:00
Benjamin Eberlei
4371e8fab0
DDC-1163 - Fix nasty bug with inheritance in UnitOfWork::executeUpdates() and executeRemovals()
2011-06-05 16:21:23 +02:00
Benjamin Eberlei
22826ac10d
DDC-1156 - Do not throw exception for mapped superclass in middle of inheritance hierachy anymore.
2011-06-05 15:00:49 +02:00
Benjamin Eberlei
d17d0f5452
DDC-1192 - Fix notice in XmlDriver, removed unnecessary code.
2011-06-05 14:49:54 +02:00
Benjamin Eberlei
ddb647f39f
DDC-1173 - Fix bug when calling UnitOfWork::clearEntityChangeSet() in listener
2011-06-05 13:34:07 +02:00
Benjamin Eberlei
70d756d59c
DDC-1184 - Improve error handling in AssignedIdGenerator
2011-06-05 12:54:29 +02:00
Benjamin Eberlei
3cdff65761
Merge pull request #63 from chesteroni/master
...
Added missing checks for associatation indexes
2011-06-05 03:28:52 -07:00
Benjamin Eberlei
ff30f86082
Merge pull request #62 from mvrhov/yml_export_notice_fix
...
Fixing Notice: Undefined index in yaml export driver
2011-06-05 03:28:31 -07:00
Benjamin Eberlei
1038a866a4
DDC-1194 - Improve error handling for DQL INSTANCE OF
2011-06-05 10:48:21 +02:00
Benjamin Eberlei
bda4165bf8
DDC-1193 - Fix previous commit.
2011-06-05 10:02:57 +02:00
Benjamin Eberlei
acaf08d4b7
DDC-1193 - Fix bug with cascade remove and proxy classes.
2011-06-05 09:59:16 +02:00
Benjamin Eberlei
875912bffd
DDC-733 - Add UnitOfWork::initializeObject() method.
2011-06-05 08:44:38 +02:00
Fabien Potencier
86c3744b8c
Made orm:convert-mapping command more configurable (allow to change the extension of the generated files for instance)
2011-06-05 08:23:08 +02:00
Ryan Weaver
6468740915
[Tools][Console] Reworking changes to be more backwards compatible
...
This keeps the --dump-sql and --force options, but adds an exception if you try to use them both (which previously, only dumped the SQL but didn't tell you that it was *not* in fact also executing the queries).
One additional change is the introduction of a `$name` property, which was the only way that a parent task could allow a child task to override the task's name early enough that the task's overridden name is taken to account when the parent class references it for its help message.
2011-06-03 15:09:18 -05:00
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
Alexander
7ee8dc4e44
DDC-1179 - Make it possible to specify a namespace when mapping with --from-database
2011-06-02 21:45:03 +02:00
chesteroni
23540c17f1
Added checking for existing indexes in associatation mapping array.
2011-05-28 20:57:19 -07:00