planetj.database
Class OracleDBSystem

java.lang.Object
  extended byplanetj.database.DBSystem
      extended byplanetj.database.OracleDBSystem
All Implemented Interfaces:
java.util.EventListener, IDBObject, ITaskListener, IXMLObject, java.io.Serializable

public class OracleDBSystem
extends DBSystem

See Also:
Serialized Form

Field Summary
static java.lang.String BFILE
           
static java.lang.String BINARY_DOUBLE
           
static java.lang.String BINARY_FLOAT
           
static java.lang.String BLOB
           
static java.lang.String CHAR
           
static java.lang.String CHARACTER
           
static java.lang.String CLOB
           
static java.lang.String DATE
           
static java.lang.String DATE_FORMAT
           
static java.lang.String DEC
           
static java.lang.String DECIMAL
           
static java.lang.String DOUBLE_PRECISION
           
static java.lang.String DRIVER
          Oracle driver.
static java.lang.String FLOAT
           
static java.lang.String INT
           
static java.lang.String INTEGER
           
static java.lang.String INTERVAL_DAY_TO_SECOND
           
static java.lang.String INTERVAL_YEAR_TO_MONTH
           
static java.lang.String LOB
           
static java.lang.String LONG
           
static java.lang.String LONG_RAW
           
static java.lang.String MLSLABEL
           
static java.lang.String NCHAR
           
static java.lang.String NCLOB
           
static java.lang.String NUMBER
           
static java.lang.String NUMERIC
           
static java.lang.String NVARCHAR2
           
static java.lang.String RAW
           
static java.lang.String REAL
           
static java.lang.String ROWID
           
static java.lang.String SMALLINT
           
static java.lang.String TIMESTAMP
           
static java.lang.String TIMESTAMP_WITH_LOCAL_TIME_ZONE
           
static java.lang.String TIMESTAMP_WITH_TIME_ZONE
           
static java.lang.String UROWID
           
static java.lang.String VARCHAR
           
static java.lang.String VARCHAR2
           
 
Fields inherited from class planetj.database.DBSystem
LIBRARIES_NOT_SUPPORTED, LIBRARIES_REQUIRED, LIBRARIES_SUPPORTED, METADATA_CATALOG_NAME_FIELD, METADATA_COLUMN_NAME_FIELD, METADATA_COLUMN_NAME_OPERATION, METADATA_COLUMN_NAME_OPERATION_FOR_CATALOGS, METADATA_LIBRARY_NAME, METADATA_LIBRARY_NAME_FIELD, METADATA_SYSTEM_NAME_FIELD, METADATA_TABLE_NAME_FIELD, METADATA_TABLE_NAME_FOR_COLUMNS, METADATA_TABLE_NAME_FOR_LIBRARIES, METADATA_TABLE_NAME_FOR_TABLES, METADATA_TABLE_NAME_OPERATION, METADATA_TABLE_NAME_OPERATION_FOR_CATALOGS
 
Constructor Summary
protected OracleDBSystem()
          OracleDatabaseSystem constructor comment.
protected OracleDBSystem(java.lang.String url)
          OracleDatabaseSystem constructor comment.
protected OracleDBSystem(java.lang.String pURL, java.lang.String pAlias)
          OracleDatabaseSystem constructor comment.
 
Method Summary
 java.lang.String getDefaultDateFormat()
           
static java.lang.Class getFieldClassForSQLTypeName(java.lang.String typeName)
          Gets the Field subclass that is representative of this SQL type name.
 
Methods inherited from class planetj.database.DBSystem
addSQLTypeName, correctDatabaseObject, correctOperation, correctOperationSQL, correctSQLLiteral, createLibrary, createSystem, createSystem, createSystem, createSystem, getAlias, getAllLibraries, getCache, getColumnDataTypeName, getColumnIndicationCharacter, getColumnPrimaryKeyName, getDataType, getDBLibraryName, getDefaultLibraryName, getDefaultTimeFormat, getDefaultTimestampFormat, getIPAddress, getLibraries, getLibrary, getLibrary, getLibrarySupportLevel, getLibraryTableSeparator, getMetaDataAlias, getMetadataColumns, getMetadataLibraries, getMetaDataSystem, getMetadataTables, getName, getProperties, getSQLTypeNames, getSupportedDataType, getSystem, getURL, getXMLData, handleConnectionEvent, isAS400, isBackgroundThreadsSupported, isDB2, isDefaultLibraryOmitted, isDelegateToPersonal, isHasAllLibraries, isMSAccess, isMySQL, isOracle, isSQLServer, removeLibrary, setAlias, setDelegateToPersonal, setMetaDataAlias, setProperties, setURL, setURLInternal, startRetrieveAllLibrariesTask, taskCompleted, taskFailed, taskStarted, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DRIVER

public static final java.lang.String DRIVER
Oracle driver.

See Also:
Constant Field Values

BFILE

public static final java.lang.String BFILE
See Also:
Constant Field Values

BINARY_DOUBLE

public static final java.lang.String BINARY_DOUBLE
See Also:
Constant Field Values

BINARY_FLOAT

public static final java.lang.String BINARY_FLOAT
See Also:
Constant Field Values

BLOB

public static final java.lang.String BLOB
See Also:
Constant Field Values

CHAR

public static final java.lang.String CHAR
See Also:
Constant Field Values

CHARACTER

public static final java.lang.String CHARACTER
See Also:
Constant Field Values

CLOB

public static final java.lang.String CLOB
See Also:
Constant Field Values

DATE

public static final java.lang.String DATE
See Also:
Constant Field Values

DEC

public static final java.lang.String DEC
See Also:
Constant Field Values

DECIMAL

public static final java.lang.String DECIMAL
See Also:
Constant Field Values

DOUBLE_PRECISION

public static final java.lang.String DOUBLE_PRECISION
See Also:
Constant Field Values

FLOAT

public static final java.lang.String FLOAT
See Also:
Constant Field Values

INT

public static final java.lang.String INT
See Also:
Constant Field Values

INTEGER

public static final java.lang.String INTEGER
See Also:
Constant Field Values

INTERVAL_DAY_TO_SECOND

public static final java.lang.String INTERVAL_DAY_TO_SECOND
See Also:
Constant Field Values

INTERVAL_YEAR_TO_MONTH

public static final java.lang.String INTERVAL_YEAR_TO_MONTH
See Also:
Constant Field Values

LOB

public static final java.lang.String LOB
See Also:
Constant Field Values

LONG

public static final java.lang.String LONG
See Also:
Constant Field Values

LONG_RAW

public static final java.lang.String LONG_RAW
See Also:
Constant Field Values

MLSLABEL

public static final java.lang.String MLSLABEL
See Also:
Constant Field Values

NCHAR

public static final java.lang.String NCHAR
See Also:
Constant Field Values

NCLOB

public static final java.lang.String NCLOB
See Also:
Constant Field Values

NVARCHAR2

public static final java.lang.String NVARCHAR2
See Also:
Constant Field Values

NUMBER

public static final java.lang.String NUMBER
See Also:
Constant Field Values

NUMERIC

public static final java.lang.String NUMERIC
See Also:
Constant Field Values

RAW

public static final java.lang.String RAW
See Also:
Constant Field Values

REAL

public static final java.lang.String REAL
See Also:
Constant Field Values

ROWID

public static final java.lang.String ROWID
See Also:
Constant Field Values

SMALLINT

public static final java.lang.String SMALLINT
See Also:
Constant Field Values

TIMESTAMP

public static final java.lang.String TIMESTAMP
See Also:
Constant Field Values

TIMESTAMP_WITH_LOCAL_TIME_ZONE

public static final java.lang.String TIMESTAMP_WITH_LOCAL_TIME_ZONE
See Also:
Constant Field Values

TIMESTAMP_WITH_TIME_ZONE

public static final java.lang.String TIMESTAMP_WITH_TIME_ZONE
See Also:
Constant Field Values

UROWID

public static final java.lang.String UROWID
See Also:
Constant Field Values

VARCHAR

public static final java.lang.String VARCHAR
See Also:
Constant Field Values

VARCHAR2

public static final java.lang.String VARCHAR2
See Also:
Constant Field Values

DATE_FORMAT

public static java.lang.String DATE_FORMAT
Constructor Detail

OracleDBSystem

protected OracleDBSystem()
OracleDatabaseSystem constructor comment.


OracleDBSystem

protected OracleDBSystem(java.lang.String url)
OracleDatabaseSystem constructor comment.

Parameters:
url - java.lang.String

OracleDBSystem

protected OracleDBSystem(java.lang.String pURL,
                         java.lang.String pAlias)
OracleDatabaseSystem constructor comment.

Parameters:
pURL - java.lang.String
pAlias - java.lang.String
Method Detail

getDefaultDateFormat

public java.lang.String getDefaultDateFormat()
Overrides:
getDefaultDateFormat in class DBSystem

getFieldClassForSQLTypeName

public static java.lang.Class getFieldClassForSQLTypeName(java.lang.String typeName)
                                                   throws DataEngineException
Gets the Field subclass that is representative of this SQL type name. This subclass is not necessarily the field's direct class name, it is the most generic subclass of planetj.database.Field. For example, even though a field might have an SQL type name of BIGINT, which would mean that its class type would be BigIntegerField, this map is to the most generic subclass of planetj.database.Field which in this case would be NumberField.

Returns:
The appropriate subclass of Field which can represent this SQL type.
Throws:
DataEngineException