public class SimpleDatabaseType extends AbstractDatabaseType
ALTER_TABLE_DROP_INDEX, CHANGE_COLUMN_TYPE_CLAUSE_STRUCTURE_STANDARD_ALTER_COLUMN, CHANGE_COLUMN_TYPE_CLAUSE_STRUCTURE_STANDARD_MODIFY, DROP_INDEX_SCHEMA_DOT_INDEX, DROP_INDEX_SCHEMA_DOT_TABLE_DOT_INDEX| Modifier | Constructor and Description |
|---|---|
protected |
SimpleDatabaseType(String name,
String fieldTypeName,
String[] productNamePrefix) |
protected |
SimpleDatabaseType(String name,
String fieldTypeName,
String[] productNamePrefix,
int constraintNameClipLength) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matchesConnection(Connection con)
This implementation of the method only checks the productName returned by the driver
against a list of potential product name prefixes.
|
getChangeColumnTypeSQL, getChangeColumnTypeStructure, getConstraintNameClipLength, getDropIndexSQL, getDropIndexStructure, getFieldTypeName, getName, getSchemaName, isProductNameInPrefixList, productNameMatches, productNamesMatch, registerWithFactory, toString, versionGreaterThanOrEqual, versionGreaterThanOrEqual, versionLessThanOrEqualprotected SimpleDatabaseType(String name, String fieldTypeName, String[] productNamePrefix, int constraintNameClipLength)
public boolean matchesConnection(Connection con) throws SQLException
matchesConnection in interface DatabaseTypematchesConnection in class AbstractDatabaseTypeSQLExceptionCopyright © 2016 Atlassian. All rights reserved.