<Resource id="DB2" type="DataSource"> 
 jdbcDriver=com.ibm.db2.jcc.DB2Driver
 XADataSource = com.ibm.db2.jcc.DB2XADataSource
 jdbcurl=....
user=....
.....
</Resource> 

openejb start....

warning:XADataSource not supported by "DB2"

program not work fine...

DB2XADataSource dx=(DB2XADataSource)ctx.lookup ("DB2")
XAConnection xa=dx.getXAConnection();
Connection con= xa.getConnection();

con.execute("update...set ")....





--
View this message in context: 
http://openejb.979440.n4.nabble.com/about-openejb-standalone-transaction-control-tp4660358p4660391.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Reply via email to