Tabnine Logo
EISOneToOneMapping.initializeSelectionCriteria
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Initialize the mapping.
 */
@Override
public void initialize(AbstractSession session) throws DescriptorException {
  super.initialize(session);
  // Must build foreign keys fields.
  List foreignKeyFields = getForeignKeyFields();
  int size = foreignKeyFields.size();
  for (int index = 0; index < size; index++) {
    DatabaseField foreignKeyField = (DatabaseField)foreignKeyFields.get(index);
    foreignKeyField = getDescriptor().buildField(foreignKeyField);
    foreignKeyFields.set(index, foreignKeyField);
  }
  initializeForeignKeys(session);
  if (shouldInitializeSelectionCriteria()) {
    initializeSelectionCriteria(session);
  } else {
    setShouldVerifyDelete(false);
  }
  setFields(collectFields());
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Initialize the mapping.
 */
public void initialize(AbstractSession session) throws DescriptorException {
  super.initialize(session);
  // Must build foreign keys fields.
  List foreignKeyFields = getForeignKeyFields();
  int size = foreignKeyFields.size();
  for (int index = 0; index < size; index++) {
    DatabaseField foreignKeyField = (DatabaseField)foreignKeyFields.get(index);
    foreignKeyField = getDescriptor().buildField(foreignKeyField);
    foreignKeyFields.set(index, foreignKeyField);
  }
  initializeForeignKeys(session);
  if (shouldInitializeSelectionCriteria()) {
    initializeSelectionCriteria(session);
  } else {
    setShouldVerifyDelete(false);
  }
  setFields(collectFields());
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Initialize the mapping.
 */
@Override
public void initialize(AbstractSession session) throws DescriptorException {
  super.initialize(session);
  // Must build foreign keys fields.
  List foreignKeyFields = getForeignKeyFields();
  int size = foreignKeyFields.size();
  for (int index = 0; index < size; index++) {
    DatabaseField foreignKeyField = (DatabaseField)foreignKeyFields.get(index);
    foreignKeyField = getDescriptor().buildField(foreignKeyField);
    foreignKeyFields.set(index, foreignKeyField);
  }
  initializeForeignKeys(session);
  if (shouldInitializeSelectionCriteria()) {
    initializeSelectionCriteria(session);
  } else {
    setShouldVerifyDelete(false);
  }
  setFields(collectFields());
}
org.eclipse.persistence.eis.mappingsEISOneToOneMappinginitializeSelectionCriteria

Javadoc

INTERNAL: Selection criteria is created with source foreign keys and target keys. This criteria is then used to read target records from the table. CR#3922 - This method is almost the same as buildSelectionCriteria() the difference is that getSelectionCriteria() is called

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,
  • isForeignKeyRelationship,
  • isPrivateOwned

Popular in Java

  • Creating JSON documents from java classes using gson
  • setContentView (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • getSystemService (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • CodeWhisperer alternatives
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