Tabnine Logo
Column.getType
Code IndexAdd Tabnine to your IDE (free)

How to use
getType
method
in
liquibase.structure.core.Column

Best Java code snippets using liquibase.structure.core.Column.getType (Showing top 5 results out of 315)

origin: ManyDesigns/Portofino

Integer jdbcType = liquibaseColumn.getType().getDataTypeId();
String jdbcTypeName = liquibaseColumn.getType().getTypeName();
if("Oracle".equals(connectionProvider.getDatabaseProductName())) {
targetColumn.setLength(liquibaseColumn.getType().getColumnSize());
targetColumn.setNullable(liquibaseColumn.isNullable());
targetColumn.setScale(liquibaseColumn.getType().getDecimalDigits());
origin: com.manydesigns/portofino-database

Integer jdbcType = liquibaseColumn.getType().getDataTypeId();
String jdbcTypeName = liquibaseColumn.getType().getTypeName();
if("Oracle".equals(connectionProvider.getDatabaseProductName())) {
targetColumn.setLength(liquibaseColumn.getType().getColumnSize());
targetColumn.setNullable(liquibaseColumn.isNullable());
targetColumn.setScale(liquibaseColumn.getType().getDecimalDigits());
origin: liquibase/liquibase-hibernate

@Override
protected DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot) throws DatabaseException, InvalidExampleException {
  Column column = (Column) example;
  if (column.getType() == null) { //not the actual full version found with the table
    if (column.getRelation() == null) {
      throw new InvalidExampleException("No relation set on " + column);
    }
    Relation relation = snapshot.get(column.getRelation());
    if (relation != null) {
      for (Column columnSnapshot : relation.getColumns()) {
        if (columnSnapshot.getName().equalsIgnoreCase(column.getName())) {
          return columnSnapshot;
        }
      }
    }
    snapshotColumn((Column) example, snapshot);
    return example; //did not find it
  } else {
    return example;
  }
}
origin: liquibase/liquibase-hibernate

LOG.info("Found column " + column.getName() + " " + column.getType().toString());
origin: jhipster/jhipster-loaded

LOG.info("Found column " + column.getName() + " " + column.getType().toString());
liquibase.structure.coreColumngetType

Popular methods of Column

  • <init>
  • getName
  • setAutoIncrementInformation
  • setCertainDataType
  • setDefaultValue
  • setName
  • setNullable
  • setRelation
  • setRemarks
  • setType
  • getRelation
  • isAutoIncrement
  • getRelation,
  • isAutoIncrement,
  • isNullable

Popular in Java

  • Start an intent from android
  • requestLocationUpdates (LocationManager)
  • getSystemService (Context)
  • getContentResolver (Context)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Permission (java.security)
    Legacy security code; do not use.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Notification (javax.management)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top Vim 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