congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
jdbcI18NLogger.warn_recovery_basic_xarec
Code IndexAdd Tabnine to your IDE (free)

How to use
warn_recovery_basic_xarec
method
in
com.arjuna.ats.jdbc.logging.jdbcI18NLogger

Best Java code snippets using com.arjuna.ats.jdbc.logging.jdbcI18NLogger.warn_recovery_basic_xarec (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew ArrayList()
  • Codota Iconnew LinkedList()
  • Smart code suggestions by Tabnine
}
origin: jbosstm/narayana

private final JDBC2RecoveryConnection getConnection ()
    throws SQLException
{
  if (connections[connectionIndex] == null) {
    String number = new String(""+ (connectionIndex + 1));
    String url = new String(dbTag + number + urlTag);
    String password = new String(dbTag + number + passwordTag);
    String user = new String(dbTag + number + userTag);
    String dynamicClass = new String(dbTag + number + dynamicClassTag);
    Properties dbProperties = new Properties();
    String theUser = props.getProperty(user);
    String thePassword = props.getProperty(password);
    String theURL = props.getProperty(url);
    if (theUser != null) {
      dbProperties.put(TransactionalDriver.userName, theUser);
      dbProperties.put(TransactionalDriver.password, thePassword);
      String dc = props.getProperty(dynamicClass);
      if (dc != null)
        dbProperties.put(TransactionalDriver.dynamicClass, dc);
      JDBC2RecoveryConnection connection = new JDBC2RecoveryConnection(theURL, dbProperties);
      connections[connectionIndex] = connection;
      return connection;
    } else {
      jdbcLogger.i18NLogger.warn_recovery_basic_xarec("BasicXARecovery.getConnection -");
      throw new SQLException(jdbcLogger.i18NLogger.insufficientConnectionInformation());
    }
  }
  return connections[connectionIndex];
}
origin: org.jboss.narayana.jts/narayana-jts-idlj

private final JDBC2RecoveryConnection getConnection ()
    throws SQLException
{
  if (connections[connectionIndex] == null) {
    String number = new String(""+ (connectionIndex + 1));
    String url = new String(dbTag + number + urlTag);
    String password = new String(dbTag + number + passwordTag);
    String user = new String(dbTag + number + userTag);
    String dynamicClass = new String(dbTag + number + dynamicClassTag);
    Properties dbProperties = new Properties();
    String theUser = props.getProperty(user);
    String thePassword = props.getProperty(password);
    String theURL = props.getProperty(url);
    if (theUser != null) {
      dbProperties.put(TransactionalDriver.userName, theUser);
      dbProperties.put(TransactionalDriver.password, thePassword);
      String dc = props.getProperty(dynamicClass);
      if (dc != null)
        dbProperties.put(TransactionalDriver.dynamicClass, dc);
      JDBC2RecoveryConnection connection = new JDBC2RecoveryConnection(theURL, dbProperties);
      connections[connectionIndex] = connection;
      return connection;
    } else {
      jdbcLogger.i18NLogger.warn_recovery_basic_xarec("BasicXARecovery.getConnection -");
      throw new SQLException(jdbcLogger.i18NLogger.insufficientConnectionInformation());
    }
  }
  return connections[connectionIndex];
}
origin: org.jboss.narayana.jta/jdbc

private final JDBC2RecoveryConnection getConnection ()
    throws SQLException
{
  if (connections[connectionIndex] == null) {
    String number = new String(""+ (connectionIndex + 1));
    String url = new String(dbTag + number + urlTag);
    String password = new String(dbTag + number + passwordTag);
    String user = new String(dbTag + number + userTag);
    String dynamicClass = new String(dbTag + number + dynamicClassTag);
    Properties dbProperties = new Properties();
    String theUser = props.getProperty(user);
    String thePassword = props.getProperty(password);
    String theURL = props.getProperty(url);
    if (theUser != null) {
      dbProperties.put(TransactionalDriver.userName, theUser);
      dbProperties.put(TransactionalDriver.password, thePassword);
      String dc = props.getProperty(dynamicClass);
      if (dc != null)
        dbProperties.put(TransactionalDriver.dynamicClass, dc);
      JDBC2RecoveryConnection connection = new JDBC2RecoveryConnection(theURL, dbProperties);
      connections[connectionIndex] = connection;
      return connection;
    } else {
      jdbcLogger.i18NLogger.warn_recovery_basic_xarec("BasicXARecovery.getConnection -");
      throw new SQLException(jdbcLogger.i18NLogger.insufficientConnectionInformation());
    }
  }
  return connections[connectionIndex];
}
origin: jbosstm/narayana

private final JDBC2RecoveryConnection getConnection ()
    throws SQLException
{
  if (connections[connectionIndex] == null) {
    String number = new String(""+ (connectionIndex + 1));
    String url = new String(dbTag + number + urlTag);
    String password = new String(dbTag + number + passwordTag);
    String user = new String(dbTag + number + userTag);
    String dynamicClass = new String(dbTag + number + dynamicClassTag);
    Properties dbProperties = new Properties();
    String theUser = props.getProperty(user);
    String thePassword = props.getProperty(password);
    String theURL = props.getProperty(url);
    if (theUser != null) {
      dbProperties.put(TransactionalDriver.userName, theUser);
      dbProperties.put(TransactionalDriver.password, thePassword);
      String dc = props.getProperty(dynamicClass);
      if (dc != null)
        dbProperties.put(TransactionalDriver.dynamicClass, dc);
      JDBC2RecoveryConnection connection = new JDBC2RecoveryConnection(theURL, dbProperties);
      connections[connectionIndex] = connection;
      return connection;
    } else {
      jdbcLogger.i18NLogger.warn_recovery_basic_xarec("BasicXARecovery.getConnection -");
      throw new SQLException(jdbcLogger.i18NLogger.insufficientConnectionInformation());
    }
  }
  return connections[connectionIndex];
}
origin: org.jboss.jbossts.jta/narayana-jta

public synchronized XAResource getXAResource () throws SQLException
{
  JDBC2RecoveryConnection conn = null;
  if (hasMoreResources())
  {
    connectionIndex++;
    conn = getConnection();
    if (conn == null)
    {
      jdbcLogger.i18NLogger.warn_recovery_basic_xarec("BasicXARecovery.getConnection -");
    }
  }
  return conn.recoveryConnection().getConnection().getXAResource();
}
origin: org.jboss.jbossts/jbossjta

public synchronized XAResource getXAResource () throws SQLException
{
  JDBC2RecoveryConnection conn = null;
  if (hasMoreResources())
  {
    connectionIndex++;
    conn = getConnection();
    if (conn == null)
    {
      jdbcLogger.i18NLogger.warn_recovery_basic_xarec("BasicXARecovery.getConnection -");
    }
  }
  return conn.recoveryConnection().getConnection().getXAResource();
}
com.arjuna.ats.jdbc.loggingjdbcI18NLoggerwarn_recovery_basic_xarec

Popular methods of jdbcI18NLogger

  • get_aborterror
  • get_alreadyassociated
  • get_alreadyassociatedcheck
  • get_autocommit
  • get_closeerror
  • get_closeerrorinvalidtx
  • get_commiterror
  • get_conniniterror
  • get_delisterror
  • get_dynamicerror
  • get_enlistfailed
  • get_inactivetransaction
  • get_enlistfailed,
  • get_inactivetransaction,
  • get_infoerror,
  • get_jndierror,
  • get_releasesavepointerror,
  • get_rollbacksavepointerror,
  • get_setreadonly,
  • get_setsavepointerror,
  • info_closingconnectionnull,
  • warn_drcdest

Popular in Java

  • Parsing JSON documents to java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • addToBackStack (FragmentTransaction)
  • getSupportFragmentManager (FragmentActivity)
  • Menu (java.awt)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Join (org.hibernate.mapping)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now