Tabnine Logo
EISPlatform.supportsLocalTransactions
Code IndexAdd Tabnine to your IDE (free)

How to use
supportsLocalTransactions
method
in
org.eclipse.persistence.eis.EISPlatform

Best Java code snippets using org.eclipse.persistence.eis.EISPlatform.supportsLocalTransactions (Showing top 9 results out of 315)

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

/**
 * Rollback the local transaction on the datasource.
 */
@Override
public void basicRollbackTransaction(AbstractSession session) throws DatabaseException {
  try {
    if (getEISPlatform().supportsLocalTransactions()) {
      getCCIConnection().getLocalTransaction().rollback();
    }
  } catch (ResourceException exception) {
    throw EISException.resourceException(exception, this, session);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 *    Begin a local transaction.
 */
protected void basicBeginTransaction(AbstractSession session) throws EISException {
  try {
    if (getEISPlatform().supportsLocalTransactions()) {
      getCCIConnection().getLocalTransaction().begin();
    }
  } catch (ResourceException exception) {
    throw EISException.resourceException(exception, this, session);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Rollback the local transaction on the datasource.
 */
public void basicRollbackTransaction(AbstractSession session) throws DatabaseException {
  try {
    if (getEISPlatform().supportsLocalTransactions()) {
      getCCIConnection().getLocalTransaction().rollback();
    }
  } catch (ResourceException exception) {
    throw EISException.resourceException(exception, this, session);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Rollback the local transaction on the datasource.
 */
public void basicRollbackTransaction(AbstractSession session) throws DatabaseException {
  try {
    if (getEISPlatform().supportsLocalTransactions()) {
      getCCIConnection().getLocalTransaction().rollback();
    }
  } catch (ResourceException exception) {
    throw EISException.resourceException(exception, this, session);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Commit the local transaction.
 */
protected void basicCommitTransaction(AbstractSession session) throws EISException {
  try {
    if (getEISPlatform().supportsLocalTransactions()) {
      getCCIConnection().getLocalTransaction().commit();
    }
  } catch (ResourceException exception) {
    throw EISException.resourceException(exception, this, session);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 *    Begin a local transaction.
 */
protected void basicBeginTransaction(AbstractSession session) throws EISException {
  try {
    if (getEISPlatform().supportsLocalTransactions()) {
      getCCIConnection().getLocalTransaction().begin();
    }
  } catch (ResourceException exception) {
    throw EISException.resourceException(exception, this, session);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Commit the local transaction.
 */
protected void basicCommitTransaction(AbstractSession session) throws EISException {
  try {
    if (getEISPlatform().supportsLocalTransactions()) {
      getCCIConnection().getLocalTransaction().commit();
    }
  } catch (ResourceException exception) {
    throw EISException.resourceException(exception, this, session);
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 *    Begin a local transaction.
 */
@Override
protected void basicBeginTransaction(AbstractSession session) throws EISException {
  try {
    if (getEISPlatform().supportsLocalTransactions()) {
      getCCIConnection().getLocalTransaction().begin();
    }
  } catch (ResourceException exception) {
    throw EISException.resourceException(exception, this, session);
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Commit the local transaction.
 */
@Override
protected void basicCommitTransaction(AbstractSession session) throws EISException {
  try {
    if (getEISPlatform().supportsLocalTransactions()) {
      getCCIConnection().getLocalTransaction().commit();
    }
  } catch (ResourceException exception) {
    throw EISException.resourceException(exception, this, session);
  }
}
org.eclipse.persistence.eisEISPlatformsupportsLocalTransactions

Javadoc

Allows for usage of transaction to be disabled if not supported.

Popular methods of EISPlatform

  • <init>
    Default constructor.
  • appendParameter
    Add the parameter. Convert the parameter to a string and write it. Convert rows to XML strings.
  • buildInteractionSpec
    Allow the platform to build the interaction spec based on properties defined in the interaction.
  • buildRow
    INTERNAL: Allow the platform to handle record to row conversion.
  • buildRows
    Allow the platform to handle record to row conversion.
  • createDOMRecord
    Allow the platform to handle the creation of the DOM record. By default create a mapped record an as
  • createDatabaseRowFromDOMRecord
    INTERNAL: Allow the platform to handle the creation of the Record for the DOM record. By default ins
  • createInputRecord
    Allow the platform to create the appropriate type of record for the interaction.
  • createOutputRecord
    Allow the platform to create the appropriate type of record for the interaction. If an output record
  • getConversionManager
    The platform holds its own instance of conversion manager to allow customization.
  • getRecordConverter
    Return the record converter.
  • isDOMRecordSupported
    Return if this platform supports XML/DOM Records.
  • getRecordConverter,
  • isDOMRecordSupported,
  • requiresAutoCommit,
  • setDOMInRecord,
  • setIsDOMRecordSupported,
  • setIsIndexedRecordSupported,
  • setIsMappedRecordSupported,
  • setRequiresAutoCommit,
  • setShouldConvertDataToStrings,
  • setSupportsLocalTransactions

Popular in Java

  • Reading from database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • 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
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • 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