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, setUser
public 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 IlvPersistentObject
write
in class IlvDBConnectionInfo
stream
- the output streamIOException
- thrown when an exception occurs during
the write operation for this object.public String getDriverClassName()
getDriverClassName
in class IlvDBConnectionInfo
public String getUrlFull()
getUrlFull
in class IlvDBConnectionInfo
protected Vector<String> getSpatialTables(String schemaName)
schemaName
- the name of the table schema.protected Properties setProperties()
DriverManager.getConnection(String, Properties)
.setProperties
in class IlvDBConnectionInfo
public ilog.views.maps.datasource.ibm.internal.DBAbstractSpatialCatalog getSpatialCatalog() throws SQLException
getSpatialCatalog
in class IlvDBConnectionInfo
SQLException
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.