Codota Logo
EISOneToManyMapping.hasCustomDeleteAllQuery
Code IndexAdd Codota 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)

  • Common ways to obtain EISOneToManyMapping
private void myMethod () {
EISOneToManyMapping e =
  • Codota IconCollectionMapping collectionMapping;(EISOneToManyMapping) collectionMapping.clone()
  • Smart code suggestions by Codota
}
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

  • Parsing JSON documents to java classes using gson
  • getApplicationContext (Context)
  • orElseThrow (Optional)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • TimerTask (java.util)
    A task that can be scheduled for one-time or repeated execution by a Timer.
  • ImageIO (javax.imageio)
  • JPanel (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now