gpt4 book ai didi

com.arjuna.ats.jta.xa.XidImple.getTransactionUid()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-24 21:55:05 26 4
gpt4 key购买 nike

本文整理了Java中com.arjuna.ats.jta.xa.XidImple.getTransactionUid()方法的一些代码示例,展示了XidImple.getTransactionUid()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XidImple.getTransactionUid()方法的具体详情如下:
包路径:com.arjuna.ats.jta.xa.XidImple
类名称:XidImple
方法名:getTransactionUid

XidImple.getTransactionUid介绍

暂无

代码示例

代码示例来源:origin: org.jboss.jbossts.jta/narayana-jta

public Transaction getTransaction(Xid xid) throws XAException {
  // first see if the xid is a root coordinator
  return TransactionImple.getTransaction(new XidImple(xid).getTransactionUid());
}

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

public Transaction getTransaction(Xid xid) throws XAException {
  // first see if the xid is a root coordinator
  Transaction transaction = TransactionImple.getTransaction(new XidImple(xid).getTransactionUid());
  // second see if the xid is a subordinate txn
  if(transaction == null) {
    transaction = SubordinationManager.getTransactionImporter().getImportedTransaction(xid);
  }
  return transaction;
}

代码示例来源:origin: org.jboss.narayana.jta/jta

public Transaction getTransaction(Xid xid) throws XAException {
  // first see if the xid is a root coordinator
  Transaction transaction = TransactionImple.getTransaction(new XidImple(xid).getTransactionUid());
  // second see if the xid is a subordinate txn
  if(transaction == null) {
    transaction = SubordinationManager.getTransactionImporter().getImportedTransaction(xid);
  }
  return transaction;
}

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

public Transaction getTransaction(Xid xid) throws XAException {
  // first see if the xid is a root coordinator
  Transaction transaction = TransactionImple.getTransaction(new XidImple(xid).getTransactionUid());
  // second see if the xid is a subordinate txn
  if(transaction == null) {
    transaction = SubordinationManager.getTransactionImporter().getImportedTransaction(xid);
  }
  return transaction;
}

代码示例来源:origin: jbosstm/narayana

public Transaction getTransaction(Xid xid) throws XAException {
  // first see if the xid is a root coordinator
  Transaction transaction = TransactionImple.getTransaction(new XidImple(xid).getTransactionUid());
  // second see if the xid is a subordinate txn
  if(transaction == null) {
    transaction = SubordinationManager.getTransactionImporter().getImportedTransaction(xid);
  }
  return transaction;
}

代码示例来源:origin: jbosstm/narayana

public Transaction getTransaction(Xid xid) throws XAException {
  // first see if the xid is a root coordinator
  Transaction transaction = TransactionImple.getTransaction(new XidImple(xid).getTransactionUid());
  // second see if the xid is a subordinate txn
  if(transaction == null) {
    transaction = SubordinationManager.getTransactionImporter().getImportedTransaction(xid);
  }
  return transaction;
}

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

Uid u = theXid.getTransactionUid();

代码示例来源:origin: jbosstm/narayana

@Test
public void test()
{
  Uid test = new Uid();
  XidImple xidImple = new XidImple(test, true, null);
  System.err.println("Uid is: "+test);
  System.err.println("Xid is: "+xidImple);
  Uid convertedUid = xidImple.getTransactionUid();
  assertEquals(test, convertedUid);
}

代码示例来源:origin: jbosstm/narayana

Uid u = theXid.getTransactionUid();

代码示例来源:origin: org.jboss.narayana.jta/jta

Uid u = theXid.getTransactionUid();

代码示例来源:origin: org.jboss.jbossts.jta/narayana-jta

Uid u = theXid.getTransactionUid();

代码示例来源:origin: jbosstm/narayana

Uid u = theXid.getTransactionUid();

代码示例来源:origin: jboss.jbossts/jbossjts

Uid u = theXid.getTransactionUid();

代码示例来源:origin: org.jboss.narayana.jta/jta

Uid u = theXid.getTransactionUid();

代码示例来源:origin: org.jboss.narayana.jts/narayana-jts-idlj

Uid u = theXid.getTransactionUid();

代码示例来源:origin: jbosstm/narayana

Uid u = theXid.getTransactionUid();

代码示例来源:origin: jbosstm/narayana

Uid u = theXid.getTransactionUid();

代码示例来源:origin: org.jboss.jbossts.jta/narayana-jta

Uid u = theXid.getTransactionUid();

代码示例来源:origin: jbosstm/narayana

Uid u = theXid.getTransactionUid();

代码示例来源:origin: jbosstm/narayana

assertTrue(xid1.getGlobalTransactionId().length > 0);
assertEquals(xid1.getTransactionUid(), A.get_uid());

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com