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

How to use
addFieldToMain
method
in
org.eclipse.persistence.descriptors.ReturningPolicy

Best Java code snippets using org.eclipse.persistence.descriptors.ReturningPolicy.addFieldToMain (Showing top 6 results out of 315)

origin: com.haulmont.thirdparty/eclipselink

protected void addMappedFieldToMain(DatabaseField field, Info info) {
  for (int operation = INSERT; operation <= UPDATE; operation++) {
    for (int state = RETURN_ONLY; state <= WRITE_RETURN; state++) {
      if (info.is(operation, state)) {
        addFieldToMain(operation, state, field);
        addFieldToMain(operation, MAPPED, field);
        addFieldToMain(operation, ALL, field);
      }
    }
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

protected void addMappedFieldToMain(DatabaseField field, Info info) {
  for (int operation = INSERT; operation <= UPDATE; operation++) {
    for (int state = RETURN_ONLY; state <= WRITE_RETURN; state++) {
      if (info.is(operation, state)) {
        addFieldToMain(operation, state, field);
        addFieldToMain(operation, MAPPED, field);
        addFieldToMain(operation, ALL, field);
      }
    }
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

protected void addMappedFieldToMain(DatabaseField field, Info info) {
  for (int operation = INSERT; operation <= UPDATE; operation++) {
    for (int state = RETURN_ONLY; state <= WRITE_RETURN; state++) {
      if (info.is(operation, state)) {
        addFieldToMain(operation, state, field);
        addFieldToMain(operation, MAPPED, field);
        addFieldToMain(operation, ALL, field);
      }
    }
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

protected void addUnmappedFieldToMain(DatabaseField field, Info info) {
  for (int operation = INSERT; operation <= UPDATE; operation++) {
    if (info.is(operation)) {
      addFieldToMain(operation, UNMAPPED, field);
      addFieldToMain(operation, ALL, field);
    }
  }
}
origin: com.haulmont.thirdparty/eclipselink

protected void addUnmappedFieldToMain(DatabaseField field, Info info) {
  for (int operation = INSERT; operation <= UPDATE; operation++) {
    if (info.is(operation)) {
      addFieldToMain(operation, UNMAPPED, field);
      addFieldToMain(operation, ALL, field);
    }
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

protected void addUnmappedFieldToMain(DatabaseField field, Info info) {
  for (int operation = INSERT; operation <= UPDATE; operation++) {
    if (info.is(operation)) {
      addFieldToMain(operation, UNMAPPED, field);
      addFieldToMain(operation, ALL, field);
    }
  }
}
org.eclipse.persistence.descriptorsReturningPolicyaddFieldToMain

Popular methods of ReturningPolicy

  • <init>
  • addCollectionToMain
  • addField
    INTERNAL:
  • addFieldForInsert
    PUBLIC:
  • addFieldForInsertReturnOnly
    PUBLIC:
  • addFieldForUpdate
    PUBLIC:
  • addMappedFieldToMain
  • addUnmappedFieldToMain
  • areCollectionsEqualAsSets
    INTERNAL: Compares two Collections as sets (ignoring the order of the elements). Note that the passe
  • clearInitialization
  • clone
    INTERNAL: Normally cloned when not yet initialized. If initialized ReturningPolicy cloned then the c
  • copyMainFrom
  • clone,
  • copyMainFrom,
  • createCollection,
  • createField,
  • fieldIsNotFromDescriptor,
  • getDescriptor,
  • getField,
  • getFieldInfos,
  • getFieldsToGenerateInsert

Popular in Java

  • Creating JSON documents from java classes using gson
  • runOnUiThread (Activity)
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • JOptionPane (javax.swing)
  • 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