[jboss-user] [JCA/JBoss] - Is this DataSource transaction safe?
smithmb
do-not-reply at jboss.com
Tue Jan 15 19:47:03 EST 2008
Hi folks -- would this datasource obviously fail to do transactions?:
<?xml version="1.0" encoding="UTF-8"?>
| <datasources>
| <local-tx-datasource>
| <jndi-name>MySqlDS</jndi-name>
| <connection-url>jdbc:mysql://127.0.0.1:3306/scheduler_db</connection-url>
| <driver-class>com.mysql.jdbc.Driver</driver-class>
| <user-name>censored</user-name>
| <password>censored</password>
| <metadata>
| <type-mapping>mySQL</type-mapping>
| </metadata>
| </local-tx-datasource>
| </datasources>
I can't get simple transactions involving multiple connections to it to fail -- the statements are autocommited, even with the autocommit off and the container (Jboss 4.0.5) saying it worked!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120271#4120271
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120271
More information about the jboss-user
mailing list