planetj.database
Class DB2DBSystem
java.lang.Object
  |
  +--planetj.database.DBSystem
        |
        +--planetj.database.DB2DBSystem
- All Implemented Interfaces: 
 - EventListener, IDBObject, ITaskListener, IXMLObject, Serializable
 
- Direct Known Subclasses: 
 - DB2LocalSystem
 
- public class DB2DBSystem
- extends DBSystem
  
Insert the type's description here.
 Creation date: (11/29/2002 1:17:00 PM)
- See Also:
 - Serialized Form
 
 
 
 
| Methods inherited from class planetj.database.DBSystem | 
createLibrary, createSystem, createSystem, createSystem, createSystem, getAlias, getAllLibraries, getCache, getColumnIndicationCharacter, getDefaultDateFormat, getDefaultLibraryName, getFieldClassForSQLTypeName, 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 | 
 
 
REMOTE_DRIVER
public static final String REMOTE_DRIVER
- Remote db2 driver
- See Also:
 - Constant Field Values
 
 
LOCAL_DRIVER
public static final String LOCAL_DRIVER
- Local db2 driver
- See Also:
 - Constant Field Values
 
 
correctDatabaseObject
public Object correctDatabaseObject(Object object,
                                    int datatype)
- Returns an object of the appropriate type for insertion into the database.  In some cases, the
	default object type for a given datatype may not be appropriate for a given DB system - this method
	addresses that issue
- Overrides:
 correctDatabaseObject in class DBSystem
 
- Parameters:
 object - The object to be inserted into the databasedatatype - The datatype of the database field
- Returns:
 - The corrected object to be inserted into the database