public class IlvDB2ConnectionInfo extends IlvDBConnectionInfo implements IlvPersistentObject
IlvDBConnectionInfo for DB2 databases.| Constructor and Description |
|---|
IlvDB2ConnectionInfo()
Creates a new
IlvDB2ConnectionInfo. |
IlvDB2ConnectionInfo(IlvInputStream stream)
Reads an object from an
IlvInputStream. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDriverClassName()
Get the JDBC driver class name
|
ilog.views.maps.datasource.ibm.internal.DBAbstractSpatialCatalog |
getSpatialCatalog()
Get a spatial catalog object which can be used to obtain the names of spatial tables.
|
protected Vector<String> |
getSpatialTables(String schemaName)
Get a list of the names of tables with a spatial column - not used.
|
String |
getUrlFull()
Get the full URL for the database server.
|
protected Properties |
setProperties()
Sets up the properties for use in
DriverManager.getConnection(String, Properties). |
void |
write(IlvOutputStream stream)
Writes the attributes of a persistent object.
|
connect, disconnect, getConnection, getDatabaseName, getHostName, getHostPort, getNodeNumber, getPassword, getServer, getSpatiallyEnabledTableNames, getUser, isLUWDB, isReady, isSavingPassword, setDatabaseName, setHostName, setHostPort, setNodeNumber, setPassword, setSavingPassword, setServer, setUserpublic IlvDB2ConnectionInfo()
IlvDB2ConnectionInfo.public IlvDB2ConnectionInfo(IlvInputStream stream) throws IlvReadFileException
IlvInputStream.stream - The stream to read from.IlvReadFileException - if there is a problem reading from
stream.public void write(IlvOutputStream stream) throws IOException
write in interface IlvPersistentObjectwrite in class IlvDBConnectionInfostream - the output streamIOException - thrown when an exception occurs during
the write operation for this object.public String getDriverClassName()
getDriverClassName in class IlvDBConnectionInfopublic String getUrlFull()
getUrlFull in class IlvDBConnectionInfoprotected Vector<String> getSpatialTables(String schemaName)
schemaName - the name of the table schema.protected Properties setProperties()
DriverManager.getConnection(String, Properties).setProperties in class IlvDBConnectionInfopublic ilog.views.maps.datasource.ibm.internal.DBAbstractSpatialCatalog getSpatialCatalog()
throws SQLException
getSpatialCatalog in class IlvDBConnectionInfoSQLException© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.