Hi,
Can anyone please tell me where is the variable "STATUS_ACTIVE" and "Status" located in the java packages named javax.transaction... that is used in the "GenericXaResource".
public void enlist() throws XAException {
TransactionManager tm = TransactionFactory.getTransactionManager();
try {
if (tm != null && tm.getStatus() == Status.STATUS_ACTIVE) {
Transaction tx = tm.getTransaction();
if (tx != null) {
tx.enlistResource(this);
} else {
throw new XAException(XAException.XAER_NOTA);
Thanks
Purani
Free forum by Nabble | Edit this page |