Tabnine Logo
ElementJoinColumn.unique
Code IndexAdd Tabnine to your IDE (free)

How to use
unique
method
in
org.apache.openjpa.persistence.jdbc.ElementJoinColumn

Best Java code snippets using org.apache.openjpa.persistence.jdbc.ElementJoinColumn.unique (Showing top 4 results out of 315)

origin: org.apache.openjpa/com.springsource.org.apache.openjpa

/**
 * Parse @ElementJoinColumn(s).
 */
protected void parseElementJoinColumns(FieldMapping fm,
  ElementJoinColumn... joins) {
  if (joins.length == 0)
    return;
  List<Column> cols = new ArrayList<Column>(joins.length);
  int unique = 0;
  for (int i = 0; i < joins.length; i++) {
    cols.add(newColumn(joins[i]));
    unique |= (joins[i].unique()) ? TRUE : FALSE;
  }
  setColumns(fm, fm.getElementMapping().getValueInfo(), cols, unique);
}
origin: org.apache.openjpa/openjpa-all

/**
 * Parse @ElementJoinColumn(s).
 */
protected void parseElementJoinColumns(FieldMapping fm,
  ElementJoinColumn... joins) {
  if (joins.length == 0)
    return;
  List<Column> cols = new ArrayList<Column>(joins.length);
  int unique = 0;
  for (int i = 0; i < joins.length; i++) {
    cols.add(newColumn(joins[i], delimit()));
    unique |= (joins[i].unique()) ? TRUE : FALSE;
  }
  setColumns(fm, fm.getElementMapping().getValueInfo(), cols, unique);
}
origin: org.apache.openjpa/openjpa-persistence-jdbc

/**
 * Parse @ElementJoinColumn(s).
 */
protected void parseElementJoinColumns(FieldMapping fm,
  ElementJoinColumn... joins) {
  if (joins.length == 0)
    return;
  List<Column> cols = new ArrayList<Column>(joins.length);
  int unique = 0;
  for (int i = 0; i < joins.length; i++) {
    cols.add(newColumn(joins[i], delimit()));
    unique |= (joins[i].unique()) ? TRUE : FALSE;
  }
  setColumns(fm, fm.getElementMapping().getValueInfo(), cols, unique);
}
origin: org.apache.openejb.patch/openjpa

/**
 * Parse @ElementJoinColumn(s).
 */
protected void parseElementJoinColumns(FieldMapping fm,
  ElementJoinColumn... joins) {
  if (joins.length == 0)
    return;
  List<Column> cols = new ArrayList<Column>(joins.length);
  int unique = 0;
  for (int i = 0; i < joins.length; i++) {
    cols.add(newColumn(joins[i], delimit()));
    unique |= (joins[i].unique()) ? TRUE : FALSE;
  }
  setColumns(fm, fm.getElementMapping().getValueInfo(), cols, unique);
}
org.apache.openjpa.persistence.jdbcElementJoinColumnunique

Popular methods of ElementJoinColumn

  • columnDefinition
  • insertable
  • name
  • nullable
  • referencedAttributeName
  • referencedColumnName
  • updatable
  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • startActivity (Activity)
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Option (scala)
  • Top plugins for WebStorm
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