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, STANDARD_SELECT_FOR_UPDATE_SYNTAXSTANDARD_SELECT_SYNTAXEND_ESCAPE_CHARACTER_SQUARE_BRACKET, ESCAPE_CHARACTER_BACK_TICK, ESCAPE_CHARACTER_DOUBLE_QUOTE, START_ESCAPE_CHARACTER_SQUARE_BRACKET| 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.
|
equals, getChangeColumnTypeSQL, getChangeColumnTypeStructure, getConstraintNameClipLength, getDropIndexSQL, getDropIndexStructure, getFieldTypeName, getName, getReservedKeywords, getSchemaName, hashCode, initialize, isProductNameInPrefixList, productNameMatches, productNamesMatch, registerWithFactory, toString, versionGreaterThanOrEqual, versionGreaterThanOrEqual, versionLessThanOrEqualclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSimpleSelectSqlSyntaxenableEscaping, escapeColumnName, getEndEscapeCharacter, getStartEscapeCharacterprotected SimpleDatabaseType(String name, String fieldTypeName, String[] productNamePrefix, int constraintNameClipLength)
public boolean matchesConnection(Connection con) throws SQLException
matchesConnection in interface DatabaseTypematchesConnection in class AbstractDatabaseTypeSQLExceptionCopyright © 2024 Atlassian. All rights reserved.