You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by chandraprabha <ch...@gmail.com> on 2011/08/31 23:13:00 UTC

Servicemix JTA

Hi All,

I am having two database oracle and Postgres and i want implement the
transaction for them.
getting an object of javax.transaction.UserTransaction from servicemix and
then 
at business layer

public void add(){ 
uerTransaction.begin(); 
oracleDao.add(); 
postgresDao.add() 
uerTransaction.commit(); 
} 

I am getting no transaction found error, Please help.



--
View this message in context: http://servicemix.396122.n5.nabble.com/Servicemix-JTA-tp4756062p4756062.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.