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

public HPT4ConnectionPoolDataSource()
Creates a pooled connection object.
See Also:
HPT4ConnectionPoolDataSource(Properties), T4Properties
HPT4ConnectionPoolDataSource
public HPT4ConnectionPoolDataSource(java.util.Properties props)
Creates a pooled connection object with the properties specified.
Parameters:
props - properties for the Type 4 connection
See Also:
HPT4ConnectionPoolDataSource()
Method Detail
getPooledConnection
public javax.sql.PooledConnection getPooledConnection()
throws java.sql.SQLException
Attempts to establish a physical database connection that can be used as a pooled connection.
Specified by:
getPooledConnection in interface javax.sql.ConnectionPoolDataSource
Returns:
A PooledConnection object that is a physical connection to the NDCS server that this
HPT4ConnectionPoolDataSource object represents.
Throws:
java.sql.SQLException - If any NDCS error occurs.
getPooledConnection
public javax.sql.PooledConnection getPooledConnection(java.lang.String username,
java.lang.String password)
throws java.sql.SQLException
Attempts to establish a physical database connection that can be used as a pooled connection.
Specified by:
getPooledConnection in interface javax.sql.ConnectionPoolDataSource
Parameters:
username - user name.
password - user password.
Returns:
A PooledConnection object that is a physical connection to the NDCS server that this
HPT4ConnectionPoolDataSource object represents.