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, STANDARD_SELECT_FOR_UPDATE_SYNTAXSTANDARD_SELECT_SYNTAXEND_ESCAPE_CHARACTER_SQUARE_BRACKET, ESCAPE_CHARACTER_BACK_TICK, ESCAPE_CHARACTER_DOUBLE_QUOTE, START_ESCAPE_CHARACTER_SQUARE_BRACKET| 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() |
String |
getSimpleSelectSqlSyntax(boolean clusterMode)
Based on the cluster mode parameter, and the capabilities of the database, return the appropriate SELECT
statement for usage.
|
boolean |
matchesConnection(Connection con)
Checks whether the connection object passed in matches the database type represented
by this instance of the DatabaseType class.
|
equals, getChangeColumnTypeSQL, getConstraintNameClipLength, getDropIndexSQL, getFieldTypeName, getName, getReservedKeywords, getSchemaName, hashCode, initialize, isProductNameInPrefixList, productNameMatches, productNamesMatch, registerWithFactory, toString, versionGreaterThanOrEqual, versionGreaterThanOrEqual, versionLessThanOrEqualclone, finalize, getClass, notify, notifyAll, wait, wait, waitenableEscaping, escapeColumnName, getEndEscapeCharacter, getStartEscapeCharacterpublic 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 AbstractDatabaseTypepublic String getSimpleSelectSqlSyntax(boolean clusterMode)
DatabaseTypeCopyright © 2024 Atlassian. All rights reserved.