Codota Logo
ReturningPolicy.getFieldsToGenerateInsert
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * Return the appropriate insert statement
 */
protected SQLInsertStatement buildInsertStatement(DatabaseTable table) {
  SQLInsertStatement insertStatement = new SQLInsertStatement();
  insertStatement.setTable(table);
  insertStatement.setModifyRow(getModifyRow());
  if (getDescriptor().hasReturningPolicy()) {
    insertStatement.setReturnFields(getDescriptor().getReturningPolicy().getFieldsToGenerateInsert(table));
  }
  insertStatement.setHintString(getQuery().getHintString());
  return insertStatement;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Return the appropriate insert statement
 */
protected SQLInsertStatement buildInsertStatement(DatabaseTable table) {
  SQLInsertStatement insertStatement = new SQLInsertStatement();
  insertStatement.setTable(table);
  insertStatement.setModifyRow(getModifyRow());
  if (getDescriptor().hasReturningPolicy()) {
    insertStatement.setReturnFields(getDescriptor().getReturningPolicy().getFieldsToGenerateInsert(table));
  }
  insertStatement.setHintString(getQuery().getHintString());
  return insertStatement;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * Return the appropriate insert statement
 */
protected SQLInsertStatement buildInsertStatement(DatabaseTable table) {
  SQLInsertStatement insertStatement = new SQLInsertStatement();
  insertStatement.setTable(table);
  insertStatement.setModifyRow(getModifyRow());
  if (getDescriptor().hasReturningPolicy()) {
    insertStatement.setReturnFields(getDescriptor().getReturningPolicy().getFieldsToGenerateInsert(table));
  }
  insertStatement.setHintString(getQuery().getHintString());
  return insertStatement;
}
org.eclipse.persistence.descriptorsReturningPolicygetFieldsToGenerateInsert

Javadoc

INTERNAL:

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

Popular in Java

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • compareTo (BigDecimal)
  • getSystemService (Context)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now