Tabnine Logo
DatabaseConnection.releaseSavePoint
Code IndexAdd Tabnine to your IDE (free)

How to use
releaseSavePoint
method
in
com.j256.ormlite.support.DatabaseConnection

Best Java code snippets using com.j256.ormlite.support.DatabaseConnection.releaseSavePoint (Showing top 4 results out of 315)

origin: j256/ormlite-core

@Override
public void releaseSavePoint(Savepoint savePoint) throws SQLException {
  if (proxy != null) {
    proxy.releaseSavePoint(savePoint);
  }
}
origin: com.j256.ormlite/ormlite-core

@Override
public void releaseSavePoint(Savepoint savePoint) throws SQLException {
  if (proxy != null) {
    proxy.releaseSavePoint(savePoint);
  }
}
origin: j256/ormlite-core

private static void release(DatabaseConnection connection, Savepoint savePoint) throws SQLException {
  String name = (savePoint == null ? null : savePoint.getSavepointName());
  connection.releaseSavePoint(savePoint);
  if (name == null) {
    logger.trace("released savePoint transaction");
  } else {
    logger.trace("released savePoint transaction {}", name);
  }
}
origin: com.j256.ormlite/ormlite-core

private static void release(DatabaseConnection connection, Savepoint savePoint) throws SQLException {
  String name = (savePoint == null ? null : savePoint.getSavepointName());
  connection.releaseSavePoint(savePoint);
  if (name == null) {
    logger.trace("released savePoint transaction");
  } else {
    logger.trace("released savePoint transaction {}", name);
  }
}
com.j256.ormlite.supportDatabaseConnectionreleaseSavePoint

Javadoc

Release a savepoint when we reach the end of a transaction but not the most outer one.

Popular methods of DatabaseConnection

  • executeStatement
    Execute a statement directly on the connection.
  • isAutoCommit
    Return if auto-commit is currently enabled.
  • setAutoCommit
    Set the auto-commit to be on (true) or off (false). Setting auto-commit to true may or may-not cause
  • commit
    Commit all changes since the savepoint was created. If savePoint is null then commit all outstanding
  • compileStatement
    Like compileStatement(String, StatementType, FieldType[]) except the caller can specify the result f
  • setSavePoint
    Start a save point with a certain name. It can be a noop if savepoints are not supported.
  • close
  • closeQuietly
    Close the connection to the database but swallow any exceptions.
  • insert
    Perform a SQL update while with the associated SQL statement, arguments, and types. This will possib
  • isAutoCommitSupported
    Return if auto-commit is supported.
  • queryForLong
    Perform a query whose result should be a single long-integer value.
  • rollback
    Roll back all changes since the savepoint was created. If savePoint is null then roll back all outst
  • queryForLong,
  • rollback,
  • delete,
  • isClosed,
  • isTableExists,
  • queryForOne,
  • update

Popular in Java

  • Creating JSON documents from java classes using gson
  • getExternalFilesDir (Context)
  • compareTo (BigDecimal)
  • runOnUiThread (Activity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JTable (javax.swing)
  • Top PhpStorm plugins
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