congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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 requests using okhttp
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • getSystemService (Context)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Socket (java.net)
    Provides a client-side TCP socket.
  • JOptionPane (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top 15 Vim 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