public interface DatabaseType
| Modifier and Type | Method and Description |
|---|---|
String |
getChangeColumnTypeSQL(String tableName,
String columnName,
String targetSqlType)
Builds a DB-specific SQL statement to update a column's type.
|
int |
getConstraintNameClipLength() |
String |
getDropIndexSQL(String schemaName,
String tableName,
String indexName)
Builds a DB-specific SQL statement for dropping index.
|
String |
getFieldTypeName() |
String |
getName() |
String |
getSchemaName(Connection con)
Returns the name of the connected schema.
|
boolean |
matchesConnection(Connection con) |
String getName()
String getFieldTypeName()
String getSchemaName(Connection con)
con - the connection for which to return the schemaint getConstraintNameClipLength()
boolean matchesConnection(Connection con) throws SQLException
SQLExceptionString getChangeColumnTypeSQL(String tableName, String columnName, String targetSqlType)
tableName - the name of the table to be changed.columnName - the name of the column to be changed.targetSqlType - the target SQL type of the column.null, if not supported.String getDropIndexSQL(String schemaName, String tableName, String indexName)
schemaName - the of the schema containing table.tableName - the name of the table to be changed.indexName - the name of the index to be dropped.Copyright © 2015 Atlassian. All rights reserved.