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

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

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

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

/**
 * PUBLIC:
 * Define the source foreign key relationship in the one-to-one mapping.
 * This method is used to add foreign key relationships to the mapping.
 * Both the source foreign key field name and the corresponding
 * target primary key field name must be specified.
 */
public void addForeignKeyFieldName(String sourceForeignKeyFieldName, String targetKeyFieldName) {
  this.addForeignKeyField(new DatabaseField(sourceForeignKeyFieldName), new DatabaseField(targetKeyFieldName));
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * PUBLIC:
 * Define the source foreign key relationship in the one-to-one mapping.
 * This method is used to add foreign key relationships to the mapping.
 * Both the source foreign key field name and the corresponding
 * target primary key field name must be specified.
 */
public void addForeignKeyFieldName(String sourceForeignKeyFieldName, String targetKeyFieldName) {
  this.addForeignKeyField(new DatabaseField(sourceForeignKeyFieldName), new DatabaseField(targetKeyFieldName));
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * PUBLIC:
 * Define the source foreign key relationship in the one-to-one mapping.
 * This method is used to add foreign key relationships to the mapping.
 * Both the source foreign key field name and the corresponding
 * target primary key field name must be specified.
 */
public void addForeignKeyFieldName(String sourceForeignKeyFieldName, String targetKeyFieldName) {
  this.addForeignKeyField(new DatabaseField(sourceForeignKeyFieldName), new DatabaseField(targetKeyFieldName));
}
org.eclipse.persistence.eis.mappingsEISOneToOneMappingaddForeignKeyField

Javadoc

PUBLIC: Define the source foreign key relationship in the one-to-one mapping. This method is used to add foreign key relationships to the mapping. Both the source foreign key field name and the corresponding target primary key field name must be specified.

Popular methods of EISOneToOneMapping

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

Popular in Java

  • Updating database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • JTextField (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Github Copilot 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