congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
EISOneToOneMapping.getSelectionQuery
Code IndexAdd Tabnine to your IDE (free)

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

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

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());
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

ReadQuery targetQuery = getSelectionQuery();
origin: org.eclipse.persistence/org.eclipse.persistence.core

ReadQuery targetQuery = getSelectionQuery();
origin: com.haulmont.thirdparty/eclipselink

ReadQuery targetQuery = getSelectionQuery();
org.eclipse.persistence.eis.mappingsEISOneToOneMappinggetSelectionQuery

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,
  • getSourceToTargetKeyFields,
  • getTargetToSourceKeyFields,
  • initializeForeignKeys,
  • initializePrivateOwnedCriteria,
  • initializeSelectionCriteria,
  • isForeignKeyRelationship,
  • isPrivateOwned

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Top Sublime Text plugins
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