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

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

Best Java code snippets using org.eclipse.persistence.eis.mappings.EISOneToManyMapping.getDeleteAllQuery (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/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/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/org.eclipse.persistence.core

/**
 * Delete all the reference objects.
 */
protected void deleteAll(DeleteObjectQuery query, Object referenceObjects) throws DatabaseException {
  ((DeleteAllQuery)this.getDeleteAllQuery()).executeDeleteAll(query.getSession().getSessionForClass(this.getReferenceClass()), query.getTranslationRow(), this.getContainerPolicy().vectorFor(referenceObjects, query.getSession()));
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Delete all the reference objects.
 */
protected void deleteAll(DeleteObjectQuery query, Object referenceObjects) throws DatabaseException {
  ((DeleteAllQuery)this.getDeleteAllQuery()).executeDeleteAll(query.getSession().getSessionForClass(this.getReferenceClass()), query.getTranslationRow(), this.getContainerPolicy().vectorFor(referenceObjects, query.getSession()));
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Delete all the reference objects.
 */
protected void deleteAll(DeleteObjectQuery query, Object referenceObjects) throws DatabaseException {
  ((DeleteAllQuery)this.getDeleteAllQuery()).executeDeleteAll(query.getSession().getSessionForClass(this.getReferenceClass()), query.getTranslationRow(), this.getContainerPolicy().vectorFor(referenceObjects, query.getSession()));
}
org.eclipse.persistence.eis.mappingsEISOneToManyMappinggetDeleteAllQuery

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,
  • getDescriptor,
  • getForeignKeyGroupingElement,
  • getForeignKeyRows

Popular in Java

  • Reactive rest calls using spring rest template
  • getContentResolver (Context)
  • runOnUiThread (Activity)
  • getExternalFilesDir (Context)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top plugins for WebStorm
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