pom配置:
3.9.3
4.2.5.RELEASE
com.atomikos
transactions-jdbc
${atomikos.version}
com.atomikos
transactions-jta
${atomikos.version}
com.atomikos
transactions
${atomikos.version}
com.atomikos
transactions-api
${atomikos.version}
com.atomikos
atomikos-util
${atomikos.version}
javax.transaction
jta
1.1
com.oracle
ojdbc6
11.2.0.3.0
spring配置:
init-method="init" destroy-method="close">
oracle_dataSourceaaaabbb
oracle.jdbc.xa.client.OracleXADataSource
jdbc:oracle:thin:@127.0.0.1:1521:orcl
nec
1111
init-method="init" destroy-method="close">
oracle_dataSource_basic
oracle.jdbc.xa.client.OracleXADataSource
jdbc:oracle:thin:@127.0.0.1:1521:orcl
basic
1111
init-method="init" destroy-method="shutdownForce">
com.atomikos.icatch.standalone.UserTransactionServiceFactory
init-method="init" destroy-method="close" depends-on="userTransactionService">
以下内容为jboss jndi配置失败,原因不明,郁闷啊,如果有高手路过,请不吝赐教
jboss 配置:
jdbc:oracle:thin:@127.0.0.1:1521:orcl
nec
1111
oracle.jdbc.xa.client.OracleXADataSource
oracle
TRANSACTION_READ_COMMITTED
20
100
nec
vnetoo
select 1 from dual
false
false
32
true
spring配置: