Bug #38922 | .NET Typed Dataset Autogenerated UPDATE causes Concurrency Violation | ||
---|---|---|---|
Submitted: | 20 Aug 2008 16:41 | Modified: | 25 Aug 2009 16:45 |
Reporter: | Matthew Hill | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 2.0.50727 | OS: | Windows |
Assigned to: | CPU Architecture: | Any |
[20 Aug 2008 16:41]
Matthew Hill
[2 Oct 2008 8:35]
Tonci Grgin
Hi Matthew and thanks for your report. I'm sorry but I lost you half-way through it... Am I right to assume you are actually posting a feature request to "variablize" database name in c/NET (so that you can do what exactly)? Isn't the obvious workaround to point different table adapters to different databases? Or have different SP's and table-adapters based on users privileges? What is the c/NET version you're using?
[16 Oct 2008 17:21]
pepito perez
Hi. The commented for Mathew is correct, for those programmers who develop code with DataSets strongly Typed: the example is very clear. The code SQL related to the operations Select, Update, Delete, Insert from Typed Dataset, must not include the name of the database, since this one, is already defined in the string of connection. The mistake that has been reported makes totally impossible the development of web applications where the concepts of strongly tiped data are applied. The MySQL Team should solve the problem that has been detected for benefit of the whole community.
[20 Oct 2008 6:57]
Tonci Grgin
Thanks Pepito for your clarification. I'm setting this to "Verified" based on your comment. It is my opinion this should be checked together with Bug#33870.
[1 Jul 2009 13:12]
Manfred Gloiber
Same problem still exists in 6.0.4.0 and caused me a *lot* of headache. This bug makes it totally useless to use app.config/settings files to connect to different databases. Simple fix: Open the DeleteCommand/UpdateCommand of every affected TableAdapter in Query Builder and just save it -> Query Builder fixes the problem.
[25 Aug 2009 16:45]
Reggie Burnett
This is the same problem as reported in bug #33870
[13 May 2010 13:44]
Matthew Bilek
I receive the same error too. Also, I don't see the correlation to bug #33870.
[13 May 2010 13:51]
Tonci Grgin
Matthew, I tend to believe Reggie as he wrote the SW himself.