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

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

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

origin: com.haulmont.thirdparty/eclipselink

protected void throwUserTransactionException() {
  throw TransactionException.entityTransactionWithJTANotAllowed();
}
origin: com.haulmont.thirdparty/eclipselink

/**
 *  An ENtityTransaction cannot be used at the same time as a JTA transaction
 *  throw an exception
 */
public EntityTransaction getTransaction(){
 throw new IllegalStateException(TransactionException.entityTransactionWithJTANotAllowed().getMessage());
}
  
org.eclipse.persistence.exceptionsTransactionExceptionentityTransactionWithJTANotAllowed

Popular methods of TransactionException

  • <init>
  • errorBeginningExternalTransaction
  • errorBindingToExternalTransaction
  • errorCommittingExternalTransaction
  • errorGettingExternalTransaction
  • errorGettingExternalTransactionStatus
  • errorMarkingTransactionForRollback
  • errorObtainingTransactionManager
  • errorRollingBackExternalTransaction
  • externalTransactionNotActive
  • inactiveUnitOfWork
  • jndiLookupException
  • inactiveUnitOfWork,
  • jndiLookupException,
  • setErrorCode,
  • setInternalException,
  • getErrorCode,
  • 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
  • 21 Best Atom Packages for 2021
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