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

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

Best Java code snippets using org.hibernate.engine.transaction.spi.TransactionImplementor.markForJoin (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

final TransactionImplementor transaction = transactionCoordinator.getTransaction();
transaction.markForJoin();
transactionCoordinator.pulse();
org.hibernate.engine.transaction.spiTransactionImplementormarkForJoin

Javadoc

Mark a transaction as joinable

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.
  • join
    Perform a join to the underlying transaction
  • 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

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • startActivity (Activity)
  • findViewById (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Table (org.hibernate.mapping)
    A relational table
  • Github Copilot alternatives
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