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

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

Best Java code snippets using org.eclipse.persistence.eis.mappings.EISOneToOneMapping.initializeForeignKeys (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.mappingsEISOneToOneMappinginitializeForeignKeys

Javadoc

INTERNAL: The foreign keys primary keys are stored as database fields in the hashtable.

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

Popular in Java

  • Making http requests using okhttp
  • runOnUiThread (Activity)
  • onRequestPermissionsResult (Fragment)
  • notifyDataSetChanged (ArrayAdapter)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • BoxLayout (javax.swing)
  • 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