MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 29th, 2003, 02:25 AM
citroenx citroenx is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 2 citroenx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question MySQL and COM+ Transaction Issue

Hi all,

I am using a single COM+ classes that do multiple database operations, eg. insert, update and delete on MySQL server with ODBC connection. I have set the transaction attribute to REQUIRED

eg.

1. update() ... success
2. delete() ... success
3. update() ... fail

If 3. fail, then operation 1. and 2. should rollback. However,
1. and 2. have been commited.

My question is, can MySQL support transactional management?
Is there any specific driver I need to use in order to support
transaction management?

Thanks in advance.

Best Regards,
carl cs.

Reply With Quote
  #2  
Old April 14th, 2003, 10:59 AM
torrent torrent is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 19 torrent User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You need to make use of the InnoDB engine. Here is the definitive reference guide:

http://www.innodb.com/ibman.html

Reply With Quote
  #3  
Old April 14th, 2003, 09:29 PM
citroenx citroenx is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 2 citroenx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hi torrent,

Good day! Thanks for your replied. :-)

Just would like to ask you if you have try to use InnoDB/MySQL with COM+ object successfully? Is the transactional controllable?

Regards,
cs.

Reply With Quote
  #4  
Old April 15th, 2003, 01:33 AM
torrent torrent is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 19 torrent User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I haven't used it with the COM+ as I use Unix servers. Sounds like an interesting idea though. Do you have a list of InnoDB's object methods?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > MySQL and COM+ Transaction Issue


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT