public class Oracle10GDatabaseType 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| Constructor and Description |
|---|
Oracle10GDatabaseType() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
detectUnicodeExtension(DatabaseUtil.ColumnCheckInfo ccInfo)
Unlike NVARCHAR2() the VARCHAR2(x CHAR) is Oracle specific and cannot be clearly seen through JDBC.
|
static boolean |
detectUnicodeWidening(String typeName,
DatabaseUtil.ColumnCheckInfo ccInfo,
String oracleSpecificExtension)
Warning: dirty hacks!
Detects oracle specific type extension.
|
protected String |
getChangeColumnTypeStructure() |
String |
getDropIndexStructure() |
boolean |
matchesConnection(Connection con)
Checks whether the connection object passed in matches the database type represented
by this instance of the DatabaseType class.
|
getChangeColumnTypeSQL, getConstraintNameClipLength, getDropIndexSQL, getFieldTypeName, getName, getSchemaName, isProductNameInPrefixList, productNameMatches, productNamesMatch, registerWithFactory, toString, versionGreaterThanOrEqual, versionGreaterThanOrEqual, versionLessThanOrEqualpublic boolean matchesConnection(Connection con) throws SQLException
AbstractDatabaseTypematchesConnection in interface DatabaseTypematchesConnection in class AbstractDatabaseTypeSQLExceptionprotected String getChangeColumnTypeStructure()
getChangeColumnTypeStructure in class AbstractDatabaseTypepublic static boolean detectUnicodeWidening(String typeName, DatabaseUtil.ColumnCheckInfo ccInfo, String oracleSpecificExtension)
typeName - the configured field type (general, without field size).ccInfo - the JDBC supplied information on the column.oracleSpecificExtension - the declared mode of the VARCHAR2 extension, possible: "BYTE", "CHAR" or null.public static boolean detectUnicodeExtension(DatabaseUtil.ColumnCheckInfo ccInfo)
ccInfo - the JDBC supplied information on the column.public String getDropIndexStructure()
getDropIndexStructure in class AbstractDatabaseTypeCopyright © 2015 Atlassian. All rights reserved.