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

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

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

origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * PUBLIC:
 * Return a new controller for use with a JTA 1.0 compliant TransactionManager.
 */
public JTATransactionController() {
  super();
  this.listenerFactory = new JTASynchronizationListener();
  try {
    this.transactionManager = acquireTransactionManager();
  } catch (Exception ex) {
    throw TransactionException.errorObtainingTransactionManager(ex);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * PUBLIC:
 * Return a new controller for use with a JTA 1.0 compliant TransactionManager.
 */
public JTATransactionController() {
  super();
  this.listenerFactory = new JTASynchronizationListener();
  try {
    this.transactionManager = acquireTransactionManager();
  } catch (Exception ex) {
    throw TransactionException.errorObtainingTransactionManager(ex);
  }
}
 
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * PUBLIC:
 * Return a new controller for use with a JTA 1.0 compliant TransactionManager.
 */
public JTATransactionController() {
  super();
  this.listenerFactory = new JTASynchronizationListener();
  try {
    this.transactionManager = acquireTransactionManager();
  } catch (Exception ex) {
    throw TransactionException.errorObtainingTransactionManager(ex);
  }
}
 
org.eclipse.persistence.exceptionsTransactionExceptionerrorObtainingTransactionManager

Popular methods of TransactionException

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

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • compareTo (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Socket (java.net)
    Provides a client-side TCP socket.
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top 15 Vim 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