|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I am currently researching for a solution to update two database
resources with identical schema (the two databases are mirror of each other at all time). After some digging, the way to go is to use XA tranaction. Currently the MySQL server version that I am using is 4.1 and looks like it doesn't have XA support. I am just wondering if there is any other way do achieve XA transaction with MySQL 4.1 with a 3rd party library, or is upgrading to MySQL 5.0 is the only way to go? And since MySQL 5.0 can act as a resource a resource manager, all i need to figure out is the transaction manager. I have looked into AtomikosTranactionsEssentials and it seems to be pretty easy to use. I see that JOTM is another option. Does anyone have any opinion or suggestions on transaction manager? Appreciate it! |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
I found this great article that illustrate a very similar case to mine
http://www.onjava.com/pub/a/onjava/2...nsactions.html I agree with how the tables needs to be InnoDB type to support transaction. However, It uses MySQL 4.0.12 and its JDBC driver. Wouldn't this mean you do not have XA support (at least not completely) as this is what i have read from the following page. http://forum.springframework.org/showthread.php?t=33011 I understand how it would still work if i am not using a XA supported MySQL version, but i want to know the consequence of doing so before making a decision on it. Thank you very much. |
|
![]() |
| Outils de la discussion | |
|
|