| How can I retrieve the id of a Transaction started by JBoss ? |
| Written by F.Marchioni | |||||
|
Sometimes it an be useful for debugging purpose to retrieve the id of a transaction; one typical scenario could be a transaction started by an EJB deployed as CMT. Most application server provide some methods to obtain this information : with JBoss you can use the method com.arjuna.ats.jta.TransactionManager.transactionManager().getTransaction() It's not portable, however should you need it......
JBoss.org Search
Custom Search
Only registered users can write comments!
Powered by !JoomlaComment 3.26
3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved." |


