but how to set XADataSource in openejb.xml to support 2 Databases
transaction? 

DataSource ds=(DataSource)ctx.lookup("DB2");(but I want a XA type) 
openejb.xml 
<Resource id="DB2" type="javax.sql.DataSource">(not suported XADataSource?) 
url 
user 
pwd 
driver 
.... 
</Resource>
<Resource id="H2" type="javax.sql.DataSource">(not suported XADataSource?) 
url 
user 
pwd 
driver 
.... 
</Resource>

how to set XADataSource in openejb.xml





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

Reply via email to