congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
jdbcI18NLogger.get_jndierror
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: jbosstm/narayana

private final void createDataSource () throws SQLException
{
try
{
  if (_theDataSource == null)
  {
    Hashtable env = jdbcPropertyManager.getJDBCEnvironmentBean().getJndiProperties();
    Context ctx = new InitialContext(env);
    _theDataSource = (XADataSource) ctx.lookup(_dbName);
  }
  if (_theDataSource == null) {
    throw new SQLException(jdbcLogger.i18NLogger.get_jndierror());
  }
}
catch (SQLException ex)
{
  throw ex;
}
catch (Exception e)
{
  jdbcLogger.logger.error(e);
  SQLException sqlException = new SQLException(e.toString());
  sqlException.initCause(e);
  throw sqlException;	}
}
origin: jbosstm/narayana

private final void createDataSource () throws SQLException
{
try
{
  if (_theDataSource == null)
  {
    Hashtable env = jdbcPropertyManager.getJDBCEnvironmentBean().getJndiProperties();
    Context ctx = new InitialContext(env);
    _theDataSource = (XADataSource) ctx.lookup(_dbName);
  }
  if (_theDataSource == null) {
    throw new SQLException(jdbcLogger.i18NLogger.get_jndierror());
  }
}
catch (SQLException ex)
{
  throw ex;
}
catch (Exception e)
{
  jdbcLogger.logger.error(e);
  SQLException sqlException = new SQLException(e.toString());
  sqlException.initCause(e);
  throw sqlException;	}
}
origin: org.jboss.narayana.jts/narayana-jts-idlj

private final void createDataSource () throws SQLException
{
try
{
  if (_theDataSource == null)
  {
    Hashtable env = jdbcPropertyManager.getJDBCEnvironmentBean().getJndiProperties();
    Context ctx = new InitialContext(env);
    _theDataSource = (XADataSource) ctx.lookup(_dbName);
  }
  if (_theDataSource == null) {
    throw new SQLException(jdbcLogger.i18NLogger.get_jndierror());
  }
}
catch (SQLException ex)
{
  throw ex;
}
catch (Exception e)
{
  jdbcLogger.logger.error(e);
  SQLException sqlException = new SQLException(e.toString());
  sqlException.initCause(e);
  throw sqlException;	}
}
origin: org.jboss.jbossts.jta/narayana-jta

private final void createDataSource () throws SQLException
{
try
{
  if (_theDataSource == null)
  {
    Hashtable env = jdbcPropertyManager.getJDBCEnvironmentBean().getJndiProperties();
    Context ctx = new InitialContext(env);
    _theDataSource = (XADataSource) ctx.lookup(_dbName);
  }
  if (_theDataSource == null) {
    throw new SQLException(jdbcLogger.i18NLogger.get_jndierror());
  }
}
catch (SQLException ex)
{
  throw ex;
}
catch (Exception e)
{
  jdbcLogger.logger.error(e);
  SQLException sqlException = new SQLException(e.toString());
  sqlException.initCause(e);
  throw sqlException;	}
}
origin: org.jboss.jbossts/jbossjta

private final void createDataSource () throws SQLException
{
try
{
  if (_theDataSource == null)
  {
    Hashtable env = jdbcPropertyManager.getJDBCEnvironmentBean().getJndiProperties();
    Context ctx = new InitialContext(env);
    _theDataSource = (XADataSource) ctx.lookup(_dbName);
  }
  if (_theDataSource == null) {
    throw new SQLException(jdbcLogger.i18NLogger.get_jndierror());
  }
}
catch (SQLException ex)
{
  throw ex;
}
catch (Exception e)
{
  jdbcLogger.logger.error(e);
  SQLException sqlException = new SQLException(e.toString());
  sqlException.initCause(e);
  throw sqlException;	}
}
origin: org.jboss.narayana.jta/jdbc

private final void createDataSource () throws SQLException
{
try
{
  if (_theDataSource == null)
  {
    Hashtable env = jdbcPropertyManager.getJDBCEnvironmentBean().getJndiProperties();
    Context ctx = new InitialContext(env);
    _theDataSource = (XADataSource) ctx.lookup(_dbName);
  }
  if (_theDataSource == null) {
    throw new SQLException(jdbcLogger.i18NLogger.get_jndierror());
  }
}
catch (SQLException ex)
{
  throw ex;
}
catch (Exception e)
{
  jdbcLogger.logger.error(e);
  SQLException sqlException = new SQLException(e.toString());
  sqlException.initCause(e);
  throw sqlException;	}
}
com.arjuna.ats.jdbc.loggingjdbcI18NLoggerget_jndierror

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_releasesavepointerror,
  • get_rollbacksavepointerror,
  • get_setreadonly,
  • get_setsavepointerror,
  • info_closingconnectionnull,
  • warn_drcdest

Popular in Java

  • Making http post requests using okhttp
  • getResourceAsStream (ClassLoader)
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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