congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
TransactionException.errorGettingExternalTransactionStatus
Code IndexAdd Tabnine to your IDE (free)

How to use
errorGettingExternalTransactionStatus
method
in
org.eclipse.persistence.exceptions.TransactionException

Best Java code snippets using org.eclipse.persistence.exceptions.TransactionException.errorGettingExternalTransactionStatus (Showing top 6 results out of 315)

origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Return the transaction status. This may be any type of status or value,
 * depending upon the transaction system.
 */
public Object getTransactionStatus() {
  try {
    return getTransactionStatus_impl();
  } catch (Exception exception) {
    throw TransactionException.errorGettingExternalTransactionStatus(exception);
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Return the transaction status. This may be any type of status or value,
 * depending upon the transaction system.
 */
public Object getTransactionStatus() {
  try {
    return getTransactionStatus_impl();
  } catch (Exception exception) {
    throw TransactionException.errorGettingExternalTransactionStatus(exception);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Return the transaction status. This may be any type of status or value,
 * depending upon the transaction system.
 */
public Object getTransactionStatus() {
  try {
    return getTransactionStatus_impl();
  } catch (Exception exception) {
    throw TransactionException.errorGettingExternalTransactionStatus(exception);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
* INTERNAL:
* Used the EJB 3.0 to determine if a transaction is in a state where an EntityManager can
* be closed
*/
public boolean noTransactionOrRolledBackOrCommited() {
  try {
    Object status = getTransactionStatus();
    return canBeginTransaction_impl(status) || canMergeUnitOfWork_impl(status) || isRolledBack_impl(status);
  } catch (Exception exception) {
    throw TransactionException.errorGettingExternalTransactionStatus(exception);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
* INTERNAL:
* Used the EJB 3.0 to determine if a transaction is in a state where an EntityManager can
* be closed
*/
public boolean noTransactionOrRolledBackOrCommited() {
  try {
    Object status = getTransactionStatus();
    return canBeginTransaction_impl(status) || canMergeUnitOfWork_impl(status) || isRolledBack_impl(status);
  } catch (Exception exception) {
    throw TransactionException.errorGettingExternalTransactionStatus(exception);
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
* INTERNAL:
* Used the EJB 3.0 to determine if a transaction is in a state where an EntityManager can
* be closed
*/
public boolean noTransactionOrRolledBackOrCommited() {
  try {
    Object status = getTransactionStatus();
    return canBeginTransaction_impl(status) || canMergeUnitOfWork_impl(status) || isRolledBack_impl(status);
  } catch (Exception exception) {
    throw TransactionException.errorGettingExternalTransactionStatus(exception);
  }
}
org.eclipse.persistence.exceptionsTransactionExceptionerrorGettingExternalTransactionStatus

Popular methods of TransactionException

  • <init>
  • errorBeginningExternalTransaction
  • errorBindingToExternalTransaction
  • errorCommittingExternalTransaction
  • errorGettingExternalTransaction
  • errorMarkingTransactionForRollback
  • errorObtainingTransactionManager
  • errorRollingBackExternalTransaction
  • externalTransactionNotActive
  • inactiveUnitOfWork
  • jndiLookupException
  • setErrorCode
  • jndiLookupException,
  • setErrorCode,
  • setInternalException,
  • getErrorCode,
  • entityTransactionWithJTANotAllowed,
  • getMessage,
  • internalProxyException,
  • multipleResourceException,
  • transactionIsActive

Popular in Java

  • Running tasks concurrently on multiple threads
  • addToBackStack (FragmentTransaction)
  • runOnUiThread (Activity)
  • getExternalFilesDir (Context)
  • Menu (java.awt)
  • Kernel (java.awt.image)
  • Path (java.nio.file)
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now