_isPoolInUseForGlobalTransactions = isPoolInUseForGlobalTransactions;
_transaction = transaction;
try {
_ctx = new GlobalTransactionContext(this);
_ctx.setStatus(transaction.getStatus());
} catch (javax.transaction.SystemException se) {
throw new DatabaseNotFoundException(se);
}