congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Table.setCatalog
Code IndexAdd Tabnine to your IDE (free)

How to use
setCatalog
method
in
org.jumpmind.db.model.Table

Best Java code snippets using org.jumpmind.db.model.Table.setCatalog (Showing top 6 results out of 315)

origin: org.jumpmind.symmetric/symmetric-io

  table.setName(attributeValue);
} else if (attributeName.equalsIgnoreCase("catalog")) {
  table.setCatalog(attributeValue);
} else if (attributeName.equalsIgnoreCase("schema")) {
  table.setSchema(attributeValue);
origin: org.jumpmind.symmetric/symmetric-jdbc

table.setCatalog(catalog);
metaData.setCatalog(catalog);
origin: org.jumpmind.symmetric/symmetric-core

table.setCatalog(catalogName);
table.setSchema(schemaName);
Router router = triggerRouterService.getRouterById(routerId, false);
if (router != null && setTargetTableName) {
  if (StringUtils.equals(Constants.NONE_TOKEN, router.getTargetCatalogName())) {
    table.setCatalog(null);
  } else if (StringUtils.isNotBlank(router.getTargetCatalogName())) {
    table.setCatalog(router.getTargetCatalogName());
origin: org.jumpmind.symmetric/symmetric-io

Table targetTable = table.copy();
targetTable.setSchema(schema);
targetTable.setCatalog(catalog);
insertSql = DmlStatementFactory.createDmlStatement(
    compatible.toString().toLowerCase(), DmlType.INSERT, targetTable, useQuotedIdentifiers);
origin: org.jumpmind.symmetric/symmetric-io

table.setCatalog(null);
origin: org.jumpmind.symmetric/symmetric-io

public boolean start(Table table) {
  /*
   * in the case when the target schema or catalog is set then we need to
   * use the previous schema or catalog to look up the table locally.
   */
  this.currentTable = platform.getTableFromCache(table.getOldCatalog(), table.getOldSchema(), table.getName(), false);
  this.currentTable = currentTable.copyAndFilterColumns(table.getColumnNames(),
      table.getPrimaryKeyColumnNames(), true);   
  /*
   * restore the schema and catalog from the passed in table because they
   * might have not been originally set, but were set when looking up the table locally
   */
  this.currentTable.setSchema(table.getSchema());
  this.currentTable.setCatalog(table.getCatalog());
  this.currentTable.setName(table.getName());
  return true;
}
org.jumpmind.db.modelTablesetCatalog

Popular methods of Table

  • getFullyQualifiedTableName
  • getColumns
  • <init>
  • getCatalog
  • getColumnCount
  • getColumnNames
  • getColumnWithName
  • getName
  • getPrimaryKeyColumns
  • getSchema
  • setName
  • setSchema
  • setName,
  • setSchema,
  • addColumn,
  • addColumns,
  • calculateTableHashcode,
  • copy,
  • copyAndFilterColumns,
  • findColumn,
  • getColumn

Popular in Java

  • Finding current android device location
  • putExtra (Intent)
  • getApplicationContext (Context)
  • compareTo (BigDecimal)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • String (java.lang)
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top PhpStorm plugins
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