gpt4 book ai didi

com.arjuna.ats.jta.xa.XAModifier类的使用及代码示例

转载 作者:知者 更新时间:2024-03-18 18:30:40 24 4
gpt4 key购买 nike

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

XAModifier介绍

[英]Instances of this class enable us to work around problems in certain databases (specifically Oracle).
[中]此类实例使我们能够解决某些数据库(特别是Oracle)中的问题。

代码示例

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

private final Xid createXid(boolean branch, XAModifier theModifier)
{
  Xid xid = baseXid();
  if (xid != null)
    return xid;
  xid = new XidImple(_theTransaction, branch);
  if (theModifier != null)
  {
    try
    {
      xid = theModifier.createXid((XidImple) xid);
    }
    catch (Exception e)
    {
      e.printStackTrace();
    }
  }
  return xid;
}

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

.xaStartParameters(XAResource.TMRESUME));
      .xaStartParameters(XAResource.TMJOIN));
      .xaStartParameters(XAResource.TMNOFLAGS));
: theModifier.xaStartParameters(XAResource.TMJOIN));

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

.xaStartParameters(XAResource.TMRESUME));
      .xaStartParameters(XAResource.TMJOIN));
      .xaStartParameters(XAResource.TMNOFLAGS));
: theModifier.xaStartParameters(XAResource.TMJOIN));

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

private final Xid createXid (boolean branch, XAModifier theModifier)
{
  Xid jtaXid = baseXid();
  if (jtaXid != null)
    return jtaXid;
  try
  {
    jtaXid = _theTransaction.get_xid(branch);
    if (theModifier != null)
    {
      try
      {
        jtaXid = theModifier.createXid(jtaXid);
      }
      catch (Exception e)
      {
        e.printStackTrace();
      }
    }
    return jtaXid;
  }
  catch (Exception e)
  {
    e.printStackTrace();
  }
  return null;
}

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

.xaStartParameters(XAResource.TMRESUME));
      .xaStartParameters(XAResource.TMJOIN));
      .xaStartParameters(XAResource.TMNOFLAGS));
: theModifier.xaStartParameters(XAResource.TMJOIN));

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

protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException
{
  int eisName = 0;
  if(branch) {
    if(_xaResourceRecordWrappingPlugin != null) {
      eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource);
    }
  }
  Xid xid = new XidImple(_theTransaction.get_uid(), branch, eisName);
  if (theModifier != null)
  {
    try
    {
      xid = theModifier.createXid((XidImple) xid);
    }
    catch (Exception e)
    {
      e.printStackTrace();
    }
  }
  return xid;
}

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

.xaStartParameters(XAResource.TMRESUME));
      .xaStartParameters(XAResource.TMJOIN));
      .xaStartParameters(XAResource.TMNOFLAGS));
: theModifier.xaStartParameters(XAResource.TMJOIN));

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

protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException
{
  int eisName = 0;
  if(branch) {
    if(_xaResourceRecordWrappingPlugin != null) {
      eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource);
    }
  }
  Xid xid = new XidImple(_theTransaction.get_uid(), branch, eisName);
  if (theModifier != null)
  {
    try
    {
      xid = theModifier.createXid((XidImple) xid);
    }
    catch (Exception e)
    {
      e.printStackTrace();
    }
  }
  return xid;
}

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

.xaStartParameters(XAResource.TMRESUME));
      .xaStartParameters(XAResource.TMJOIN));
      .xaStartParameters(XAResource.TMNOFLAGS));
: theModifier.xaStartParameters(XAResource.TMJOIN));

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

@Override
protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException
{
  Xid xid = baseXid();
  // We can have subordinate XIDs that can be editted
  if (xid.getFormatId() != XATxConverter.FORMAT_ID)
    return xid;
  Integer eisName = null;
  if(branch) {
    if(_xaResourceRecordWrappingPlugin != null) {
      eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource);
    }
  }
  xid = new XidImple(xid, branch, eisName);
  if (theModifier != null)
  {
    try
    {
      xid = theModifier.createXid((XidImple) xid);
    }
    catch (Exception e)
    {
      e.printStackTrace();
    }
  }
  return xid;
}

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

.xaStartParameters(XAResource.TMRESUME));
      .xaStartParameters(XAResource.TMJOIN));
      .xaStartParameters(XAResource.TMNOFLAGS));
: theModifier.xaStartParameters(XAResource.TMJOIN));

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

@Override
protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException
{
  Xid xid = baseXid();
  // We can have subordinate XIDs that can be editted
  if (xid.getFormatId() != XATxConverter.FORMAT_ID)
    return xid;
  Integer eisName = null;
  if(branch) {
    if(_xaResourceRecordWrappingPlugin != null) {
      eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource);
    }
  }
  xid = new XidImple(xid, branch, eisName);
  if (theModifier != null)
  {
    try
    {
      xid = theModifier.createXid((XidImple) xid);
    }
    catch (Exception e)
    {
      e.printStackTrace();
    }
  }
  return xid;
}

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

.xaStartParameters(XAResource.TMRESUME));
      .xaStartParameters(XAResource.TMJOIN));
      .xaStartParameters(XAResource.TMNOFLAGS));
: theModifier.xaStartParameters(XAResource.TMJOIN));

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

jtaXid = theModifier.createXid(jtaXid);

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

protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException
{
  int eisName = 0;
  if(branch) {
    if(_xaResourceRecordWrappingPlugin != null) {
      eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource);
    }
  }
  Xid xid = new XidImple(_theTransaction.get_uid(), branch, eisName);
  if (theModifier != null)
  {
    try
    {
      xid = theModifier.createXid((XidImple) xid);
    }
    catch (Exception e)
    {
      jtaLogger.i18NLogger.warn_cant_create_xid_of_branch(_theTransaction.get_uid(), branch, eisName, e);
    }
  }
  return xid;
}

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

protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException
{
  int eisName = 0;
  if(branch) {
    if(_xaResourceRecordWrappingPlugin != null) {
      eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource);
    }
  }
  Xid xid = new XidImple(_theTransaction.get_uid(), branch, eisName);
  if (theModifier != null)
  {
    try
    {
      xid = theModifier.createXid((XidImple) xid);
    }
    catch (Exception e)
    {
      jtaLogger.i18NLogger.warn_cant_create_xid_of_branch(_theTransaction.get_uid(), branch, eisName, e);
    }
  }
  return xid;
}

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

protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException
{
  int eisName = 0;
  if(branch) {
    if(_xaResourceRecordWrappingPlugin != null) {
      eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource);
    }
  }
  Xid xid = new XidImple(_theTransaction.get_uid(), branch, eisName);
  if (theModifier != null)
  {
    try
    {
      xid = theModifier.createXid((XidImple) xid);
    }
    catch (Exception e)
    {
      jtaLogger.i18NLogger.warn_cant_create_xid_of_branch(_theTransaction.get_uid(), branch, eisName, e);
    }
  }
  return xid;
}

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

protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException
{
  int eisName = 0;
  if(branch) {
    if(_xaResourceRecordWrappingPlugin != null) {
      eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource);
    }
  }
  Xid xid = new XidImple(_theTransaction.get_uid(), branch, eisName);
  if (theModifier != null)
  {
    try
    {
      xid = theModifier.createXid((XidImple) xid);
    }
    catch (Exception e)
    {
      jtaLogger.i18NLogger.warn_cant_create_xid_of_branch(_theTransaction.get_uid(), branch, eisName, e);
    }
  }
  return xid;
}

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

@Override
protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException
{
  Xid xid = baseXid();
  // We can have subordinate XIDs that can be editted
  if (xid.getFormatId() != XATxConverter.FORMAT_ID)
    return xid;
  Integer eisName = null;
  if(branch) {
    if(_xaResourceRecordWrappingPlugin != null) {
      eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource);
    }
  }
  xid = new XidImple(xid, branch, eisName);
  if (theModifier != null)
  {
    try
    {
      xid = theModifier.createXid((XidImple) xid);
    }
    catch (Exception e)
    {
      jtaLogger.i18NLogger.warn_cant_create_xid_of_xid(xid, branch, eisName, e);
    }
  }
  return xid;
}

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

@Override
protected Xid createXid(boolean branch, XAModifier theModifier, XAResource xaResource) throws IOException, ObjectStoreException
{
  Xid xid = baseXid();
  // We can have subordinate XIDs that can be editted
  if (xid.getFormatId() != XATxConverter.FORMAT_ID)
    return xid;
  Integer eisName = null;
  if(branch) {
    if(_xaResourceRecordWrappingPlugin != null) {
      eisName = _xaResourceRecordWrappingPlugin.getEISName(xaResource);
    }
  }
  xid = new XidImple(xid, branch, eisName);
  if (theModifier != null)
  {
    try
    {
      xid = theModifier.createXid((XidImple) xid);
    }
    catch (Exception e)
    {
      jtaLogger.i18NLogger.warn_cant_create_xid_of_xid(xid, branch, eisName, e);
    }
  }
  return xid;
}

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