congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
EISOneToOneMapping.shouldVerifyDelete
Code IndexAdd Tabnine to your IDE (free)

How to use
shouldVerifyDelete
method
in
org.eclipse.persistence.eis.mappings.EISOneToOneMapping

Best Java code snippets using org.eclipse.persistence.eis.mappings.EISOneToOneMapping.shouldVerifyDelete (Showing top 3 results out of 1,395)

origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Reads the private owned object.
 */
protected Object readPrivateOwnedForObject(ObjectLevelModifyQuery modifyQuery) throws DatabaseException {
  if (modifyQuery.getSession().isUnitOfWork()) {
    return getRealAttributeValueFromObject(modifyQuery.getBackupClone(), modifyQuery.getSession());
  } else {
    if (!shouldVerifyDelete()) {
      return null;
    }
    ReadObjectQuery readQuery = (ReadObjectQuery)getSelectionQuery().clone();
    readQuery.setSelectionCriteria(getPrivateOwnedCriteria());
    return modifyQuery.getSession().executeQuery(readQuery, modifyQuery.getTranslationRow());
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Reads the private owned object.
 */
@Override
protected Object readPrivateOwnedForObject(ObjectLevelModifyQuery modifyQuery) throws DatabaseException {
  if (modifyQuery.getSession().isUnitOfWork()) {
    return getRealAttributeValueFromObject(modifyQuery.getBackupClone(), modifyQuery.getSession());
  } else {
    if (!shouldVerifyDelete()) {
      return null;
    }
    ReadObjectQuery readQuery = (ReadObjectQuery)getSelectionQuery().clone();
    readQuery.setSelectionCriteria(getPrivateOwnedCriteria());
    return modifyQuery.getSession().executeQuery(readQuery, modifyQuery.getTranslationRow());
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Reads the private owned object.
 */
@Override
protected Object readPrivateOwnedForObject(ObjectLevelModifyQuery modifyQuery) throws DatabaseException {
  if (modifyQuery.getSession().isUnitOfWork()) {
    return getRealAttributeValueFromObject(modifyQuery.getBackupClone(), modifyQuery.getSession());
  } else {
    if (!shouldVerifyDelete()) {
      return null;
    }
    ReadObjectQuery readQuery = (ReadObjectQuery)getSelectionQuery().clone();
    readQuery.setSelectionCriteria(getPrivateOwnedCriteria());
    return modifyQuery.getSession().executeQuery(readQuery, modifyQuery.getTranslationRow());
  }
}
org.eclipse.persistence.eis.mappingsEISOneToOneMappingshouldVerifyDelete

Javadoc

These are used for non-unit of work modification to check if the value of the 1-1 was changed and a deletion is required.

Popular methods of EISOneToOneMapping

  • addForeignKeyField
    PUBLIC: Define the source foreign key relationship in the one-to-one mapping. This method is used to
  • collectFields
  • getAttributeName
  • getAttributeValueFromObject
  • getDescriptor
  • getFields
  • getForeignKeyFields
  • getIndirectionPolicy
  • getPrivateOwnedCriteria
    INTERNAL: The private owned criteria is only used outside of the unit of work to compare the previou
  • getRealAttributeValueFromObject
  • getReferenceDescriptor
  • getSelectionCriteria
  • getReferenceDescriptor,
  • getSelectionCriteria,
  • getSelectionQuery,
  • getSourceToTargetKeyFields,
  • getTargetToSourceKeyFields,
  • initializeForeignKeys,
  • initializePrivateOwnedCriteria,
  • initializeSelectionCriteria,
  • isForeignKeyRelationship,
  • isPrivateOwned

Popular in Java

  • Finding current android device location
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • setRequestProperty (URLConnection)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • JFrame (javax.swing)
  • Top 15 Vim Plugins
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