HighTechTalks DotNet Forums  

Autocommit und transactions

Dotnet Framework (ODBC.net) microsoft.public.dotnet.framework.odbcnet


Discuss Autocommit und transactions in the Dotnet Framework (ODBC.net) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Peter
 
Posts: n/a

Default Autocommit und transactions - 06-14-2004 , 10:44 AM






I am using a databaseconnection via ODBC to Sybase ASA 9.01
After updating a dataset and updating fails against table T1 ( Primary key
would not be unique ! ),
This is OK, That can happen in my program.
But after five Minutes,
I use the same connection for another Query to Table T2.
Now I get the OLD errormessage from Table T1 !!!


Is there a ROLLBACK needed or something else.

What i have to do, when an update of a dataset fails ??

Thanks for any help

Peter Stojkovic




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.