Codota Logo
FieldsLockingPolicy.getAllNonPrimaryKeyFields
Code IndexAdd Codota to your IDE (free)

How to use
getAllNonPrimaryKeyFields
method
in
org.eclipse.persistence.descriptors.FieldsLockingPolicy

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * filter the fields based on the passed in table.  Only return fields of this table.
 */
protected Vector getAllNonPrimaryKeyFields(DatabaseTable table) {
  Vector filteredFields = new Vector();
  for (Enumeration enumtr = getAllNonPrimaryKeyFields().elements(); enumtr.hasMoreElements();) {
    DatabaseField dbField = (DatabaseField)enumtr.nextElement();
    if (dbField.getTableName().equals(table.getName())) {
      filteredFields.addElement(dbField);
    }
  }
  return filteredFields;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * filter the fields based on the passed in table.  Only return fields of this table.
 */
protected List<DatabaseField> getAllNonPrimaryKeyFields(DatabaseTable table) {
  List<DatabaseField> filteredFields = new ArrayList<DatabaseField>();
  for (DatabaseField dbField : getAllNonPrimaryKeyFields()) {
    if (dbField.getTableName().equals(table.getName())) {
      filteredFields.add(dbField);
    }
  }
  return filteredFields;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * filter the fields based on the passed in table.  Only return fields of this table.
 */
protected List<DatabaseField> getAllNonPrimaryKeyFields(DatabaseTable table) {
  List<DatabaseField> filteredFields = new ArrayList<DatabaseField>();
  for (DatabaseField dbField : getAllNonPrimaryKeyFields()) {
    if (dbField.getTableName().equals(table.getName())) {
      filteredFields.add(dbField);
    }
  }
  return filteredFields;
}
org.eclipse.persistence.descriptorsFieldsLockingPolicygetAllNonPrimaryKeyFields

Javadoc

INTERNAL: Returns the fields that should be compared in the where clause. In this case, it is all the fields, except for the primary key and class indicator field.

Popular methods of FieldsLockingPolicy

  • buildAllNonPrimaryKeyFields
    INTERNAL: Returns the fields that should be compared in the where clause. In this case, it is all th
  • buildExpression
    INTERNAL: returns the expression to be used in both the delete and update where clause.
  • getFieldsToCompare
    INTERNAL: Returns the fields that should be compared in the where clause. This method must be implem
  • initialize
    INTERNAL: It is responsible for initializing the policy;
  • isPrimaryKey
    INTERNAL: Returns whether or not this field is a primary key. This method will also return true for

Popular in Java

  • Making http requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • 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