Codota Logo
Dialect.getTableName
Code IndexAdd Codota to your IDE (free)

How to use
getTableName
method
in
org.nuxeo.ecm.core.storage.sql.jdbc.dialect.Dialect

Best Java code snippets using org.nuxeo.ecm.core.storage.sql.jdbc.dialect.Dialect.getTableName (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: org.nuxeo.ecm.core/nuxeo-core-storage-sql

public Table addTable(String name) throws IllegalArgumentException {
  String physicalName = dialect.getTableName(name);
  if (!physicalTables.add(physicalName)) {
    throw new IllegalArgumentException("Duplicate table name: " + physicalName);
  }
  Table table = new TableImpl(dialect, physicalName, name);
  tables.put(name, table);
  return table;
}
origin: org.nuxeo.ecm.platform/nuxeo-platform-directory-sql

public static Table addTable(String name, Dialect dialect, boolean nativeCase) {
  String physicalName = dialect.getTableName(name);
  if (!nativeCase && name.length() == physicalName.length()) {
    // we can keep the name specified in the config
    physicalName = name;
  }
  return new TableImpl(dialect, physicalName, physicalName);
}
origin: org.nuxeo.ecm.core/nuxeo-core-storage-sql

protected void getTable(Connection connection, String tbl) throws SQLException {
  String tablePhysicalName = dialect.getTableName(tbl);
  table = new TableImpl(dialect, tablePhysicalName, tablePhysicalName);
  keyCol = addColumn(KEY_COL, ColumnType.SYSNAME);
  keyCol.setPrimary(true);
  keyCol.setNullable(false);
  longCol = addColumn(LONG_COL, ColumnType.LONG);
  stringCol = addColumn(STRING_COL, ColumnType.CLOB);
  bytesCol = addColumn(BYTES_COL, ColumnType.BLOB);
  ttlCol = addColumn(TTL_COL, ColumnType.LONG);
  table.addIndex(TTL_COL);
  tableName = table.getQuotedName();
  keyColName = keyCol.getQuotedName();
  longColName = longCol.getQuotedName();
  stringColName = stringCol.getQuotedName();
  bytesColName = bytesCol.getQuotedName();
  ttlColName = ttlCol.getQuotedName();
  if (!tableExists(connection)) {
    createTable(connection);
  }
  checkColumns(connection);
}
org.nuxeo.ecm.core.storage.sql.jdbc.dialectDialectgetTableName

Popular methods of Dialect

  • closeQuote
  • openQuote
  • addPagingClause
    Returns the SQL query with a paging clause
  • createDialect
    Creates a Dialect by connecting to the datasource to check what database is used.
  • getColumnName
  • getLikeEscaping
    Gets the SQL fragment to add after a LIKE match to specify the escaping character.
  • isConcurrentUpdateException
    Checks if an exception received means that a concurrent update was detected.
  • supportsIlike
    Does the dialect support ILIKE operator
  • supportsPaging
    Indicates if dialect supports paging
  • castIdToVarchar
    Casts an id column to a VARCHAR type. Used for uuid/varchar joins.
  • checkStoredProcedure
    Checks if a given stored procedure exists and is identical to the passed creation SQL. There are 3 c
  • createArrayOf
    Factory method for creating Array objects, suitable for passing to PreparedStatement#setArray. (An e
  • checkStoredProcedure,
  • createArrayOf,
  • doesUpdateFromRepeatSelf,
  • getAddColumnString,
  • getAddForeignKeyConstraintString,
  • getAddPrimaryKeyConstraintString,
  • getAncestorsIdsSql,
  • getArrayElementString,
  • getArrayIlikeSql

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSystemService (Context)
  • requestLocationUpdates (LocationManager)
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
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