Tabnine Logo
DefaultTransactionStatus.isTransactionSavepointManager
Code IndexAdd Tabnine to your IDE (free)

How to use
isTransactionSavepointManager
method
in
org.springframework.transaction.support.DefaultTransactionStatus

Best Java code snippets using org.springframework.transaction.support.DefaultTransactionStatus.isTransactionSavepointManager (Showing top 1 results out of 315)

origin: springframework/spring-dao

/**
 * This implementation exposes the SavepointManager interface
 * of the underlying transaction object, if any.
 */
protected SavepointManager getSavepointManager() {
  if (!isTransactionSavepointManager()) {
    throw new NestedTransactionNotSupportedException(
      "Transaction object [" + getTransaction() + "] does not support savepoints");
  }
  return (SavepointManager) getTransaction();
}
org.springframework.transaction.supportDefaultTransactionStatusisTransactionSavepointManager

Javadoc

Return whether the underlying transaction implements the SavepointManagerinterface and therefore supports savepoints.

Popular methods of DefaultTransactionStatus

  • getTransaction
    Return the underlying transaction object.
  • isDebug
    Return whether the progress of this transaction is debugged. This is used by AbstractPlatformTransac
  • <init>
    Create a new DefaultTransactionStatus instance.
  • isNewTransaction
  • isReadOnly
    Return if this transaction is defined as read-only transaction.
  • getSuspendedResources
    Return the holder for resources that have been suspended for this transaction, if any.
  • isNewSynchronization
    Return if a new transaction synchronization has been opened for this transaction.
  • hasTransaction
    Return whether there is an actual transaction active.
  • isGlobalRollbackOnly
    Determine the rollback-only flag via checking the transaction object, provided that the latter imple
  • setRollbackOnly
  • createAndHoldSavepoint
  • hasSavepoint
  • createAndHoldSavepoint,
  • hasSavepoint,
  • isLocalRollbackOnly,
  • releaseHeldSavepoint,
  • rollbackToHeldSavepoint,
  • setCompleted,
  • isCompleted

Popular in Java

  • Running tasks concurrently on multiple threads
  • requestLocationUpdates (LocationManager)
  • getResourceAsStream (ClassLoader)
  • setScale (BigDecimal)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Table (org.hibernate.mapping)
    A relational table
  • Top Sublime Text 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