congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
TransactionImplementor.join
Code IndexAdd Tabnine to your IDE (free)

How to use
join
method
in
org.hibernate.engine.transaction.spi.TransactionImplementor

Best Java code snippets using org.hibernate.engine.transaction.spi.TransactionImplementor.join (Showing top 3 results out of 315)

origin: org.hibernate/com.springsource.org.hibernate.core

/**
 * Reset the internal state.
 */
public void reset() {
  synchronizationRegistered = false;
  ownershipTaken = false;
  if ( currentHibernateTransaction != null ) {
    currentHibernateTransaction.invalidate();
  }
  currentHibernateTransaction = transactionFactory().createTransaction( this );
  if ( transactionContext.shouldAutoJoinTransaction() ) {
    currentHibernateTransaction.markForJoin();
    currentHibernateTransaction.join();
  }
  // IMPL NOTE : reset clears synchronizations (following jta spec), but not observers!
  synchronizationRegistry.clearSynchronizations();
}
origin: org.hibernate/com.springsource.org.hibernate

/**
 * Reset the internal state.
 */
public void reset() {
  synchronizationRegistered = false;
  ownershipTaken = false;
  if ( currentHibernateTransaction != null ) {
    currentHibernateTransaction.invalidate();
  }
  currentHibernateTransaction = transactionFactory().createTransaction( this );
  if ( transactionContext.shouldAutoJoinTransaction() ) {
    currentHibernateTransaction.markForJoin();
    currentHibernateTransaction.join();
  }
  // IMPL NOTE : reset clears synchronizations (following jta spec), but not observers!
  synchronizationRegistry.clearSynchronizations();
}
origin: org.hibernate/com.springsource.org.hibernate.ejb

transaction.join();
if ( transaction.getJoinStatus() == JoinStatus.NOT_JOINED ) {
  if ( explicitRequest ) {
org.hibernate.engine.transaction.spiTransactionImplementorjoin

Javadoc

Perform a join to the underlying transaction

Popular methods of TransactionImplementor

  • invalidate
    Called after completion of the underlying transaction to signify the facade is no longer valid.
  • createIsolationDelegate
    Retrieve an isolation delegate appropriate for this transaction strategy.
  • getJoinStatus
    Get the current state of this transaction's join status.
  • markForJoin
    Mark a transaction as joinable
  • markRollbackOnly
    Make a best effort to mark the underlying transaction for rollback only.
  • getStatus
  • isActive
    Indicate whether a resource transaction is in progress.
  • isInitiator
  • resetJoinStatus
    Reset this transaction's join status.

Popular in Java

  • Making http post requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (Timer)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Top 12 Jupyter Notebook extensions
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