congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
JDOFatalDataStoreException
Code IndexAdd Tabnine to your IDE (free)

How to use
JDOFatalDataStoreException
in
javax.jdo

Best Java code snippets using javax.jdo.JDOFatalDataStoreException (Showing top 11 results out of 315)

origin: jpox/jpox

public String getSchemaName(Connection conn) throws SQLException
{
  Statement stmt = conn.createStatement();
  
  try
  {
    String stmtText = "VALUES (CURRENT SCHEMA)";
    ResultSet rs = stmt.executeQuery(stmtText);
    try
    {
      if (!rs.next())
      {
        throw new JDOFatalDataStoreException("No result returned from " + stmtText);
      }
      return rs.getString(1).trim();
    }
    finally
    {
      rs.close();
    }
  }
  finally
  {
    stmt.close();
  }
}
origin: springframework/spring-orm

public JdoResourceFailureException(JDOFatalDataStoreException ex) {
  super(ex.getMessage(), ex);
}
origin: jpox/jpox

public String getSchemaName(Connection conn) throws SQLException
{
  Statement stmt = conn.createStatement();
  
  try
  {
    String stmtText = "SELECT SYS_CONTEXT('USERENV', 'CURRENT_SCHEMA') FROM DUAL";
    ResultSet rs = stmt.executeQuery(stmtText);
    try
    {
      if (!rs.next())
      {
        throw new JDOFatalDataStoreException("No result returned from " + stmtText);
      }
      return rs.getString(1);
    }
    finally
    {
      rs.close();
    }
  }
  finally
  {
    stmt.close();
  }
}
origin: apache/servicemix-bundles

public JdoResourceFailureException(JDOFatalDataStoreException ex) {
  super(ex.getMessage(), ex);
}
origin: jpox/jpox

throw new JDOFatalDataStoreException("Can't read JDBC metadata from result set", e);
origin: jpox/jpox

throw new JDOFatalDataStoreException("Can't read JDBC metadata from result set", e);
origin: jpox/jpox

throw new JDOFatalDataStoreException("Can't read JDBC metadata from result set", e);
origin: jpox/jpox

throw new JDOFatalDataStoreException("Can't read JDBC metadata from result set", e);
origin: jpox/jpox

throw new JDOFatalDataStoreException(LOCALISER.msg("Transaction.CommitWithRollbackOnly"));
origin: jpox/jpox

throw new JDOFatalDataStoreException(msg);
origin: org.datanucleus/datanucleus-api-jdo

return new JDOFatalDataStoreException(ne.getMessage(), ne.getFailedObject());
return new JDOFatalDataStoreException(ne.getMessage(), ne.getNestedExceptions());
return new JDOFatalDataStoreException(ne.getMessage(), ne);
javax.jdoJDOFatalDataStoreException

Javadoc

This class represents data store exceptions that cannot be retried.

Most used methods

  • <init>
    Constructs a new JDOFatalDataStoreException with the specified detail message, nested Throwables, an
  • getMessage

Popular in Java

  • Finding current android device location
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
  • compareTo (BigDecimal)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • PhpStorm for WordPress
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