Neoview JDBC Type 4 Driver API Reference (R2.2, R2.3, R2.4, R2.5)

getCpuToUse, getLogWriter, getProperties, getSPJEnv, setCpuToUse, setCpuToUse, setSPJEnv,
setSPJEnv
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.sql.DataSource
getLoginTimeout, getLogWriter, setLoginTimeout
Constructor Detail
HPT4DataSource
public HPT4DataSource()
Contructor for the HPT4DataSource object.
See Also:
HPT4DataSource(java.util.Properties)
HPT4DataSource
public HPT4DataSource(java.util.Properties info)
Contructor for the HPT4DataSource object.
Parameters:
info - Contains all the Type 4 properties in a name, value pair.
See Also:
HPT4DataSource(), Properties
Method Detail
getConnection
public java.sql.Connection getConnection()
throws java.sql.SQLException
Attempts to establish an NDCS connection.
Specified by:
getConnection in interface javax.sql.DataSource
Returns:
a connection to the NDCS server.
Throws:
java.sql.SQLException - if a database access error or NDCS error occurs.
See Also:
getConnection(String, String)