congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ReturningPolicy.isUsedToSetPrimaryKey
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Indicates whether pk or some of its components
 * set after insert into the database.
 * Shouldn't be called before ClassDescriptor has been initialized.
 */
public boolean isPrimaryKeySetAfterInsert(AbstractSession session) {
  return (usesSequenceNumbers() && getSequence().shouldAcquireValueAfterInsert()) || (hasReturningPolicy() && getReturningPolicy().isUsedToSetPrimaryKey());
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Indicates whether pk or some of its components
 * set after insert into the database.
 * Shouldn't be called before ClassDescriptor has been initialized.
 */
public boolean isPrimaryKeySetAfterInsert(AbstractSession session) {
  return (usesSequenceNumbers() && getSequence().shouldAcquireValueAfterInsert()) || (hasReturningPolicy() && getReturningPolicy().isUsedToSetPrimaryKey());
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Indicates whether pk or some of its components
 * set after insert into the database.
 * Shouldn't be called before ClassDescriptor has been initialized.
 */
public boolean isPrimaryKeySetAfterInsert(AbstractSession session) {
  return (usesSequenceNumbers() && getSequence().shouldAcquireValueAfterInsert()) || (hasReturningPolicy() && getReturningPolicy().isUsedToSetPrimaryKey());
}
org.eclipse.persistence.descriptorsReturningPolicyisUsedToSetPrimaryKey

Javadoc

indicates whether ReturningPolicy is used for generation of the PK.

Popular methods of ReturningPolicy

  • <init>
  • addCollectionToMain
  • 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
  • clearInitialization,
  • clone,
  • copyMainFrom,
  • createCollection,
  • createField,
  • fieldIsNotFromDescriptor,
  • getDescriptor,
  • getField,
  • getFieldInfos,
  • getFieldsToGenerateInsert

Popular in Java

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • findViewById (Activity)
  • setRequestProperty (URLConnection)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Collectors (java.util.stream)
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now