Tabnine Logo
StandaloneTransactionContext.getPersistenceProvider
Code IndexAdd Tabnine to your IDE (free)

How to use
getPersistenceProvider
method
in
org.camunda.bpm.engine.impl.cfg.standalone.StandaloneTransactionContext

Best Java code snippets using org.camunda.bpm.engine.impl.cfg.standalone.StandaloneTransactionContext.getPersistenceProvider (Showing top 6 results out of 315)

origin: camunda/camunda-bpm-platform

public void commit() {
 LOG.debugTransactionOperation("firing event committing...");
 fireTransactionEvent(TransactionState.COMMITTING);
 LOG.debugTransactionOperation("committing the persistence session...");
 getPersistenceProvider().commit();
 LOG.debugTransactionOperation("firing event committed...");
 fireTransactionEvent(TransactionState.COMMITTED);
}
origin: camunda/camunda-bpm-platform

public void commit() {
 LOG.debugTransactionOperation("firing event committing...");
 fireTransactionEvent(TransactionState.COMMITTING);
 LOG.debugTransactionOperation("committing the persistence session...");
 getPersistenceProvider().commit();
 LOG.debugTransactionOperation("firing event committed...");
 fireTransactionEvent(TransactionState.COMMITTED);
}
origin: camunda/camunda-bpm-platform

public void rollback() {
 try {
  try {
   LOG.debugTransactionOperation("firing event rollback...");
   fireTransactionEvent(TransactionState.ROLLINGBACK);
  }
  catch (Throwable exception) {
   LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception);
   Context.getCommandInvocationContext().trySetThrowable(exception);
  }
  finally {
   LOG.debugTransactionOperation("rolling back the persistence session...");
   getPersistenceProvider().rollback();
  }
 }
 catch (Throwable exception) {
  LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception);
  Context.getCommandInvocationContext().trySetThrowable(exception);
 }
 finally {
  LOG.debugFiringEventRolledBack();
  fireTransactionEvent(TransactionState.ROLLED_BACK);
 }
}
origin: camunda/camunda-bpm-platform

public void rollback() {
 try {
  try {
   LOG.debugTransactionOperation("firing event rollback...");
   fireTransactionEvent(TransactionState.ROLLINGBACK);
  }
  catch (Throwable exception) {
   LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception);
   Context.getCommandInvocationContext().trySetThrowable(exception);
  }
  finally {
   LOG.debugTransactionOperation("rolling back the persistence session...");
   getPersistenceProvider().rollback();
  }
 }
 catch (Throwable exception) {
  LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception);
  Context.getCommandInvocationContext().trySetThrowable(exception);
 }
 finally {
  LOG.debugFiringEventRolledBack();
  fireTransactionEvent(TransactionState.ROLLED_BACK);
 }
}
origin: org.camunda.bpm/camunda-engine

public void commit() {
 LOG.debugTransactionOperation("firing event committing...");
 fireTransactionEvent(TransactionState.COMMITTING);
 LOG.debugTransactionOperation("committing the persistence session...");
 getPersistenceProvider().commit();
 LOG.debugTransactionOperation("firing event committed...");
 fireTransactionEvent(TransactionState.COMMITTED);
}
origin: org.camunda.bpm/camunda-engine

public void rollback() {
 try {
  try {
   LOG.debugTransactionOperation("firing event rollback...");
   fireTransactionEvent(TransactionState.ROLLINGBACK);
  }
  catch (Throwable exception) {
   LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception);
   Context.getCommandInvocationContext().trySetThrowable(exception);
  }
  finally {
   LOG.debugTransactionOperation("rolling back the persistence session...");
   getPersistenceProvider().rollback();
  }
 }
 catch (Throwable exception) {
  LOG.exceptionWhileFiringEvent(TransactionState.ROLLINGBACK, exception);
  Context.getCommandInvocationContext().trySetThrowable(exception);
 }
 finally {
  LOG.debugFiringEventRolledBack();
  fireTransactionEvent(TransactionState.ROLLED_BACK);
 }
}
org.camunda.bpm.engine.impl.cfg.standaloneStandaloneTransactionContextgetPersistenceProvider

Popular methods of StandaloneTransactionContext

  • fireTransactionEvent
  • <init>
  • setLastTransactionState
  • commit
  • isTransactionActive
  • rollback

Popular in Java

  • Start an intent from android
  • getSharedPreferences (Context)
  • compareTo (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • Kernel (java.awt.image)
  • Path (java.nio.file)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top plugins for Android Studio
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