Tabnine Logo
ReturningPolicy.addCollectionToMain
Code IndexAdd Tabnine to your IDE (free)

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

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

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

protected void copyMainFrom(ReturningPolicy policy) {
  Collection[][] mainToCopy = policy.main;
  for (int operation = INSERT; operation <= UPDATE; operation++) {
    for (int state = RETURN_ONLY; state < MAIN_SIZE; state++) {
      addCollectionToMain(operation, state, mainToCopy[operation][state]);
    }
  }
}
origin: com.haulmont.thirdparty/eclipselink

protected void copyMainFrom(ReturningPolicy policy) {
  Collection[][] mainToCopy = policy.main;
  for (int operation = INSERT; operation <= UPDATE; operation++) {
    for (int state = RETURN_ONLY; state < MAIN_SIZE; state++) {
      addCollectionToMain(operation, state, mainToCopy[operation][state]);
    }
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

protected void copyMainFrom(ReturningPolicy policy) {
  Collection[][] mainToCopy = policy.main;
  for (int operation = INSERT; operation <= UPDATE; operation++) {
    for (int state = RETURN_ONLY; state < MAIN_SIZE; state++) {
      addCollectionToMain(operation, state, mainToCopy[operation][state]);
    }
  }
}
org.eclipse.persistence.descriptorsReturningPolicyaddCollectionToMain

Popular methods of ReturningPolicy

  • <init>
  • addField
    INTERNAL:
  • addFieldForInsert
    PUBLIC:
  • addFieldForInsertReturnOnly
    PUBLIC:
  • addFieldForUpdate
    PUBLIC:
  • addFieldToMain
  • 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

  • Finding current android device location
  • getResourceAsStream (ClassLoader)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSupportFragmentManager (FragmentActivity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Reference (javax.naming)
  • Top Vim plugins
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