planetj.database
Class SQLServerDBSystem

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

public class SQLServerDBSystem
extends DBSystem

Insert the type's description here. Creation date: (11/29/2002 1:16:40 PM)

See Also:
Serialized Form

Field Summary
static String DRIVER
          SQL Server driver
 
Fields inherited from class planetj.database.DBSystem
LIBRARIES_NOT_SUPPORTED, LIBRARIES_REQUIRED, LIBRARIES_SUPPORTED
 
Method Summary
 Object correctDatabaseObject(Object object, int datatype)
          Returns an object of the appropriate type for insertion into the database.
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DRIVER

public static final String DRIVER
SQL Server driver

See Also:
Constant Field Values
Method Detail

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 database
datatype - The datatype of the database field
Returns:
The corrected object to be inserted into the database