congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Parsing JSON documents to java classes using gson
  • runOnUiThread (Activity)
  • startActivity (Activity)
  • getApplicationContext (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Sublime Text for Python
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