Tabnine Logo
EISOneToManyMapping.buildElementFromChangeSet
Code IndexAdd Tabnine to your IDE (free)

How to use
buildElementFromChangeSet
method
in
org.eclipse.persistence.eis.mappings.EISOneToManyMapping

Best Java code snippets using org.eclipse.persistence.eis.mappings.EISOneToManyMapping.buildElementFromChangeSet (Showing top 6 results out of 315)

origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Build and return a new element based on the change set.
 */
public Object buildRemovedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession) {
  ObjectChangeSet objectChangeSet = (ObjectChangeSet)changeSet;
  if (!mergeManager.shouldMergeChangesIntoDistributedCache()) {
    mergeManager.registerRemovedNewObjectIfRequired(objectChangeSet.getUnitOfWorkClone());
  }
  return this.buildElementFromChangeSet(changeSet, mergeManager, targetSession);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Build and return a new element based on the change set.
 */
public Object buildRemovedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession) {
  ObjectChangeSet objectChangeSet = (ObjectChangeSet)changeSet;
  if (!mergeManager.shouldMergeChangesIntoDistributedCache()) {
    mergeManager.registerRemovedNewObjectIfRequired(objectChangeSet.getUnitOfWorkClone());
  }
  return this.buildElementFromChangeSet(changeSet, mergeManager, targetSession);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Build and return a new element based on the change set.
 */
public Object buildRemovedElementFromChangeSet(Object changeSet, MergeManager mergeManager) {
  ObjectChangeSet objectChangeSet = (ObjectChangeSet)changeSet;
  if (!mergeManager.shouldMergeChangesIntoDistributedCache()) {
    mergeManager.registerRemovedNewObjectIfRequired(objectChangeSet.getUnitOfWorkClone());
  }
  return this.buildElementFromChangeSet(changeSet, mergeManager);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Build and return a new element based on the change set.
 */
public Object buildAddedElementFromChangeSet(Object changeSet, MergeManager mergeManager) {
  ObjectChangeSet objectChangeSet = (ObjectChangeSet)changeSet;
  if (this.shouldMergeCascadeParts(mergeManager)) {
    Object targetElement = null;
    if (mergeManager.shouldMergeChangesIntoDistributedCache()) {
      targetElement = objectChangeSet.getTargetVersionOfSourceObject(mergeManager.getSession(), true);
    } else {
      targetElement = objectChangeSet.getUnitOfWorkClone();
    }
    mergeManager.mergeChanges(targetElement, objectChangeSet);
  }
  return this.buildElementFromChangeSet(changeSet, mergeManager);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Build and return a new element based on the change set.
 */
public Object buildAddedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession) {
  ObjectChangeSet objectChangeSet = (ObjectChangeSet)changeSet;
  if (this.shouldMergeCascadeParts(mergeManager)) {
    Object targetElement = null;
    if (mergeManager.shouldMergeChangesIntoDistributedCache()) {
      targetElement = objectChangeSet.getTargetVersionOfSourceObject(mergeManager, mergeManager.getSession(), true);
    } else {
      targetElement = objectChangeSet.getUnitOfWorkClone();
    }
    mergeManager.mergeChanges(targetElement, objectChangeSet, targetSession);
  }
  return this.buildElementFromChangeSet(changeSet, mergeManager, targetSession);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Build and return a new element based on the change set.
 */
public Object buildAddedElementFromChangeSet(Object changeSet, MergeManager mergeManager, AbstractSession targetSession) {
  ObjectChangeSet objectChangeSet = (ObjectChangeSet)changeSet;
  if (this.shouldMergeCascadeParts(mergeManager)) {
    Object targetElement = null;
    if (mergeManager.shouldMergeChangesIntoDistributedCache()) {
      targetElement = objectChangeSet.getTargetVersionOfSourceObject(mergeManager, mergeManager.getSession(), true);
    } else {
      targetElement = objectChangeSet.getUnitOfWorkClone();
    }
    mergeManager.mergeChanges(targetElement, objectChangeSet, targetSession);
  }
  return this.buildElementFromChangeSet(changeSet, mergeManager, targetSession);
}
org.eclipse.persistence.eis.mappingsEISOneToManyMappingbuildElementFromChangeSet

Javadoc

Build and return a new element based on the change set.

Popular methods of EISOneToManyMapping

  • addForeignKeyField
    PUBLIC: Define the source foreign key relationship in the one-to-many mapping. This method is used f
  • buildAddedElementFromChangeSet
    INTERNAL: Build and return a new element based on the change set.
  • buildChangeSet
    INTERNAL: Build and return a change set for the specified element.
  • buildElementFromElement
    INTERNAL: Build and return a new element based on the specified element.
  • buildRemovedElementFromChangeSet
    INTERNAL: Build and return a new element based on the change set.
  • compareElements
    INTERNAL: Compare the non-null elements and return true if they are alike.
  • compareElementsForChange
    INTERNAL: Compare the non-null elements and return true if they are alike. Here we use object identi
  • compareObjectsAndWrite
  • compareObjectsWithoutPrivateOwned
  • deleteAll
    Delete all the reference objects.
  • deleteReferenceObjectsLeftOnDatabase
    This method will make sure that all the records privately owned by this mapping are actually removed
  • extractKeyRowFromReferenceObject
    Build and return a database row that contains a foreign key for the specified reference object. This
  • deleteReferenceObjectsLeftOnDatabase,
  • extractKeyRowFromReferenceObject,
  • getAttributeName,
  • getAttributeValueFromObject,
  • getContainerPolicy,
  • getDeleteAllQuery,
  • getDescriptor,
  • getForeignKeyGroupingElement,
  • getForeignKeyRows

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSupportFragmentManager (FragmentActivity)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JTable (javax.swing)
  • CodeWhisperer 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