planetj.database
Class OracleDBSystem

java.lang.Object
  |
  +--planetj.database.DBSystem
        |
        +--planetj.database.OracleDBSystem
All Implemented Interfaces:
EventListener, IDBObject, ITaskListener, IXMLObject, Serializable

public class OracleDBSystem
extends DBSystem

Author:
PlanetJ Corporation
See Also:
Serialized Form

Field Summary
static String BFILE
           
static String BLOB
           
static String CHAR
           
static String CLOB
           
static String DATE
           
static String DATE_FORMAT
           
static String DRIVER
          Oracle driver.
static String INTERVAL_DAY_TO_SECOND
           
static String INTERVAL_YEAR_TO_MONTH
           
static String LOB
           
static String LONG
           
static String LONG_RAW
           
static String NCHAR
           
static String NCLOB
           
static String NUMBER
           
static String NVARCHAR2
           
static String RAW
           
static String ROWID
           
static String TIMESTAMP
           
static String TIMESTAMP_WITH_LOCAL_TIME_ZONE
           
static String TIMESTAMP_WITH_TIME_ZONE
           
static String UROWID
           
static String VARCHAR
           
static String VARCHAR2
           
 
Fields inherited from class planetj.database.DBSystem
LIBRARIES_NOT_SUPPORTED, LIBRARIES_REQUIRED, LIBRARIES_SUPPORTED
 
Method Summary
 String getDefaultDateFormat()
           
static Class getFieldClassForSQLTypeName(String typeName)
          Gets the Field subclass that is representative of this SQL type name.
 
Methods inherited from class planetj.database.DBSystem
correctDatabaseObject, createLibrary, createSystem, createSystem, createSystem, createSystem, getAlias, getAllLibraries, getCache, getColumnIndicationCharacter, getDefaultLibraryName, getIPAddress, getLibraries, getLibrary, getLibrary, getLibrarySupportLevel, getMetaDataAlias, getMetaDataSystem, getName, getProperties, getSQLTypeNames, getSupportedDataType, getSystem, getURL, getXMLData, isBackgroundThreadsSupported, isDefaultLibraryOmitted, isDelegateToPersonal, isHasAllLibraries, removeLibrary, setDelegateToPersonal, setProperties, startRetrieveAllLibrariesTask, taskCompleted, taskFailed, taskStarted, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DRIVER

public static final String DRIVER
Oracle driver.

See Also:
Constant Field Values

BFILE

public static final String BFILE
See Also:
Constant Field Values

BLOB

public static final String BLOB
See Also:
Constant Field Values

CHAR

public static final String CHAR
See Also:
Constant Field Values

CLOB

public static final String CLOB
See Also:
Constant Field Values

DATE

public static final String DATE
See Also:
Constant Field Values

INTERVAL_DAY_TO_SECOND

public static final String INTERVAL_DAY_TO_SECOND
See Also:
Constant Field Values

INTERVAL_YEAR_TO_MONTH

public static final String INTERVAL_YEAR_TO_MONTH
See Also:
Constant Field Values

LOB

public static final String LOB
See Also:
Constant Field Values

LONG

public static final String LONG
See Also:
Constant Field Values

LONG_RAW

public static final String LONG_RAW
See Also:
Constant Field Values

NCHAR

public static final String NCHAR
See Also:
Constant Field Values

NCLOB

public static final String NCLOB
See Also:
Constant Field Values

NVARCHAR2

public static final String NVARCHAR2
See Also:
Constant Field Values

NUMBER

public static final String NUMBER
See Also:
Constant Field Values

RAW

public static final String RAW
See Also:
Constant Field Values

ROWID

public static final String ROWID
See Also:
Constant Field Values

TIMESTAMP

public static final String TIMESTAMP
See Also:
Constant Field Values

TIMESTAMP_WITH_LOCAL_TIME_ZONE

public static final String TIMESTAMP_WITH_LOCAL_TIME_ZONE
See Also:
Constant Field Values

TIMESTAMP_WITH_TIME_ZONE

public static final String TIMESTAMP_WITH_TIME_ZONE
See Also:
Constant Field Values

UROWID

public static final String UROWID
See Also:
Constant Field Values

VARCHAR

public static final String VARCHAR
See Also:
Constant Field Values

VARCHAR2

public static final String VARCHAR2
See Also:
Constant Field Values

DATE_FORMAT

public static String DATE_FORMAT
Method Detail

getDefaultDateFormat

public String getDefaultDateFormat()
Overrides:
getDefaultDateFormat in class DBSystem

getFieldClassForSQLTypeName

public static Class getFieldClassForSQLTypeName(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.

Parameters:
typeName - The SQL type name of the field
Returns:
The appropriate subclass of Field which can represent this SQL type.
DataEngineException