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

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

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

origin: com.haulmont.thirdparty/eclipselink

public Object getAttributeValueFromObject(Object object) {
  boolean hasCustomDeleteAllQuery = ((EISOneToManyMapping)object).hasCustomDeleteAllQuery();
  if (hasCustomDeleteAllQuery) {
    return ((EISOneToManyMapping)object).getDeleteAllQuery();
  } else {
    return null;
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public Object getAttributeValueFromObject(Object object) {
  boolean hasCustomDeleteAllQuery = ((EISOneToManyMapping)object).hasCustomDeleteAllQuery();
  if (hasCustomDeleteAllQuery) {
    return ((EISOneToManyMapping)object).getDeleteAllQuery();
  } else {
    return null;
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public Object getAttributeValueFromObject(Object object) {
  boolean hasCustomDeleteAllQuery = ((EISOneToManyMapping)object).hasCustomDeleteAllQuery();
  if (hasCustomDeleteAllQuery) {
    return ((EISOneToManyMapping)object).getDeleteAllQuery();
  } else {
    return null;
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Initialize the delete all query.
 * This query is used to delete the collection of objects from the
 * database.
 */
protected void initializeDeleteAllQuery() {
  ((DeleteAllQuery)this.getDeleteAllQuery()).setReferenceClass(this.getReferenceClass());
  if (!this.hasCustomDeleteAllQuery()) {
    // the selection criteria are re-used by the delete all query
    this.getDeleteAllQuery().setSelectionCriteria(this.getSelectionCriteria());
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Initialize the delete all query.
 * This query is used to delete the collection of objects from the
 * database.
 */
protected void initializeDeleteAllQuery() {
  ((DeleteAllQuery)this.getDeleteAllQuery()).setReferenceClass(this.getReferenceClass());
  if (!this.hasCustomDeleteAllQuery()) {
    // the selection criteria are re-used by the delete all query
    this.getDeleteAllQuery().setSelectionCriteria(this.getSelectionCriteria());
  }
}
 
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Initialize the delete all query.
 * This query is used to delete the collection of objects from the
 * database.
 **/
protected void initializeDeleteAllQuery() {
  ((DeleteAllQuery)this.getDeleteAllQuery()).setReferenceClass(this.getReferenceClass());
  if (!this.hasCustomDeleteAllQuery()) {
    // the selection criteria are re-used by the delete all query
    this.getDeleteAllQuery().setSelectionCriteria(this.getSelectionCriteria());
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

if (this.hasCustomDeleteAllQuery()) {
  this.deleteAll(query, referenceObjects);
} else {
origin: com.haulmont.thirdparty/eclipselink

if (this.hasCustomDeleteAllQuery()) {
  this.deleteAll(query, referenceObjects);
} else {
origin: org.eclipse.persistence/org.eclipse.persistence.core

if (this.hasCustomDeleteAllQuery()) {
  this.deleteAll(query, referenceObjects);
} else {
org.eclipse.persistence.eis.mappingsEISOneToManyMappinghasCustomDeleteAllQuery

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.
  • buildElementFromChangeSet
    Build and return a new element based on the change set.
  • 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
  • deleteAll,
  • deleteReferenceObjectsLeftOnDatabase,
  • extractKeyRowFromReferenceObject,
  • getAttributeName,
  • getAttributeValueFromObject,
  • getContainerPolicy,
  • getDeleteAllQuery,
  • getDescriptor,
  • getForeignKeyGroupingElement,
  • getForeignKeyRows

Popular in Java

  • Running tasks concurrently on multiple threads
  • findViewById (Activity)
  • compareTo (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Collectors (java.util.stream)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top plugins for Android Studio
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