DBIdentifier.equalsIgnoreCase
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using org.apache.openjpa.jdbc.identifier.DBIdentifier.equalsIgnoreCase (Showing top 11 results out of 315)

  • Common ways to obtain DBIdentifier
private void myMethod () {
DBIdentifier d =
  • String name;DBIdentifier.DBIdentifierType id;DBIdentifier.newIdentifier(name, id)
  • String name;DBIdentifier.newColumn(name)
  • Column col;col.getIdentifier()
  • Smart code suggestions by Codota
}
origin: org.apache.openjpa/openjpa-all

/**
 * Helper to track the secondary table for a set of columns.
 *
 * @param secondary secondary table for last column
 * @param colSecondary secondary table for current column
 * @return secondary table for field
 */
private DBIdentifier trackSecondaryTable(FieldMapping fm, DBIdentifier secondary,
  DBIdentifier colSecondary, int col) {
  if (DBIdentifier.isEmpty(colSecondary))
    colSecondary = DBIdentifier.NULL;
  if (col == 0)
    return colSecondary;
  if (!DBIdentifier.equalsIgnoreCase(secondary, colSecondary))
    throw new MetaDataException(_loc.get("second-inconsist", fm));
  return secondary;
}
origin: org.apache.openjpa/openjpa-persistence-jdbc

/**
 * Helper to track the secondary table for a set of columns.
 *
 * @param secondary secondary table for last column
 * @param colSecondary secondary table for current column
 * @return secondary table for field
 */
private DBIdentifier trackSecondaryTable(FieldMapping fm, DBIdentifier secondary,
  DBIdentifier colSecondary, int col) {
  if (DBIdentifier.isEmpty(colSecondary))
    colSecondary = DBIdentifier.NULL;
  if (col == 0)
    return colSecondary;
  if (!DBIdentifier.equalsIgnoreCase(secondary, colSecondary))
    throw new MetaDataException(_loc.get("second-inconsist", fm));
  return secondary;
}
origin: org.apache.openejb.patch/openjpa

/**
 * Helper to track the secondary table for a set of columns.
 *
 * @param secondary secondary table for last column
 * @param colSecondary secondary table for current column
 * @return secondary table for field
 */
private DBIdentifier trackSecondaryTable(FieldMapping fm, DBIdentifier secondary,
  DBIdentifier colSecondary, int col) {
  if (DBIdentifier.isEmpty(colSecondary))
    colSecondary = DBIdentifier.NULL;
  if (col == 0)
    return colSecondary;
  if (!DBIdentifier.equalsIgnoreCase(secondary, colSecondary))
    throw new MetaDataException(_loc.get("second-inconsist", fm));
  return secondary;
}
origin: org.apache.openjpa/openjpa-all

if (joinPath.isUnqualifiedObject() && pts < 2 && fullJoin.equalsIgnoreCase(tableName)) {
  best = fullJoin;
  pts = 2;
if (pts < 1 && join.equalsIgnoreCase(tableName)) {
  best = fullJoin;
  pts = 1;
origin: org.apache.openjpa/openjpa-jdbc

if (joinPath.isUnqualifiedObject() && pts < 2 && fullJoin.equalsIgnoreCase(tableName)) {
  best = fullJoin;
  pts = 2;
if (pts < 1 && join.equalsIgnoreCase(tableName)) {
  best = fullJoin;
  pts = 1;
origin: org.apache.openejb.patch/openjpa

if (joinPath.isUnqualifiedObject() && pts < 2 && fullJoin.equalsIgnoreCase(tableName)) {
  best = fullJoin;
  pts = 2;
if (pts < 1 && join.equalsIgnoreCase(tableName)) {
  best = fullJoin;
  pts = 1;
origin: org.apache.openejb.patch/openjpa-jdbc

if (joinPath.isUnqualifiedObject() && pts < 2 && fullJoin.equalsIgnoreCase(tableName)) {
  best = fullJoin;
  pts = 2;
if (pts < 1 && join.equalsIgnoreCase(tableName)) {
  best = fullJoin;
  pts = 1;
origin: org.apache.openejb.patch/openjpa

  DBIdentifier.equalsIgnoreCase(defaultSchemaName, schemas[i].getIdentifier());
boolean hasNoDefaultSchema = DBIdentifier.isNull(inSchema.getIdentifier()) && 
  DBIdentifier.isNull(defaultSchemaName); 
origin: org.apache.openjpa/openjpa-all

  DBIdentifier.equalsIgnoreCase(defaultSchemaName, schemas[i].getIdentifier());
boolean hasNoDefaultSchema = DBIdentifier.isNull(inSchema.getIdentifier()) && 
  DBIdentifier.isNull(defaultSchemaName); 
origin: org.apache.openjpa/openjpa-jdbc

  DBIdentifier.equalsIgnoreCase(defaultSchemaName, schemas[i].getIdentifier());
boolean hasNoDefaultSchema = DBIdentifier.isNull(inSchema.getIdentifier()) && 
  DBIdentifier.isNull(defaultSchemaName); 
origin: org.apache.openejb.patch/openjpa-jdbc

  DBIdentifier.equalsIgnoreCase(defaultSchemaName, schemas[i].getIdentifier());
boolean hasNoDefaultSchema = DBIdentifier.isNull(inSchema.getIdentifier()) && 
  DBIdentifier.isNull(defaultSchemaName); 
org.apache.openjpa.jdbc.identifierDBIdentifierequalsIgnoreCase

Javadoc

Equality operator which ignores case.

Popular methods of DBIdentifier

  • newColumn
    Constructs a new identifier of type Column,optionally delimiting the name.
  • newSchema
    Constructs a new identifier of type Schema, optionally delimiting the name.
  • clone
    Clones an identifier using deep copy.
  • combine
    Returns a new DBIdentifier with the given string combined using delimiting rules and appropriate sep
  • getName
  • isEmpty
    Returns true if the identifier is null or the name is null or empty.
  • isNull
    Returns true if the identifier is null.
  • newCatalog
    Constructs a new identifier of type Catalog ,optionally delimiting the name.
  • newColumnDefinition
    Constructs a new identifier of type Column Definition.
  • newConstant
    Constructs a new identifier of type Constant.
  • newConstraint
    Constructs a new identifier of type Constraint, optionally delimiting the name.
  • newForeignKey
    Constructs a new identifier of type ForeignKey, optionally delimiting the name.
  • newConstraint,
  • newForeignKey,
  • newIndex,
  • newSequence,
  • newTable,
  • toArray,
  • truncate,
  • <init>,
  • append

Popular in Java

  • Reading from database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JPanel (javax.swing)

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)