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

java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info)
Gets information about the possible properties for the Type 4 driver.
boolean jdbcCompliant()
Returns whether the Type 4 driver is JDBC compliant.
Methods inherited from class com.hp.t4jdbc.
T4Properties
getCpuToUse, getLogWriter, getProperties, getSPJEnv, setCpuToUse, setCpuToUse, setLogWriter,
setSPJEnv, setSPJEnv
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
HPT4Driver
public HPT4Driver()
Instantiated by either Class.forName("com.hp.t4jdbc.HPT4Driver") or by passing -
Djdbc.drivers=com.hp.t4jdbc.HPT4Driver
property in the command line of the JDBC program.
Method Detail
acceptsURL
public boolean acceptsURL(java.lang.String url)
throws java.sql.SQLException
Retrieves whether the Type 4 driver determined that it can open a connection to the given URL. Typically
drivers return true if they recognize the subprotocol specified in the URL and false if they do not. For Type 4
driver to recognize the protocol, the URL must start with jdbc:hpt4jdbc.
Specified by:
acceptsURL in interface java.sql.Driver
Parameters:
url - The URL of the database.
Returns:
true if the Type 4 driver recognizes the given URL; otherwise, false.
Throws:
java.sql.SQLException
connect
public java.sql.Connection connect(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException