Class Hierarchy Previous Next Index
java.lang.Object | +----COM.cloudscape.core.JDBCDriver
A class that can be used to boot a Cloudscape system.
The correct code to load a Cloudscape system using this driver is (with approriate try/catch blocks):
Class.forName("COM.cloudscape.core.JDBCDriver").newInstance();When loaded in this way, the class boots the actual JDBC driver indirectly. JavaSoft recommends the Class.ForName method without the .newInstance() method call, but adding the newInstance() guarantees that the Cloudscape system is booted on all platforms.
Any initial error messages are placed in the PrintStream supplied by the DriverManager. If the PrintStream is null error messages are sent to System.err. Once the Cloudscape system has set up an error logging facility (by default to cloudscape.LOG) all subsequent messages are sent to it.
By convention, the class used in the Class.forName() method to boot a JDBC driver implements java.sql.Driver. This class is not the actual JDBC driver that gets registered with the Driver Manager. It proxies requests to the registered Cloudscape JDBC driver.
public JDBCDriver()
public boolean acceptsURL(java.lang.String url) throws java.sql.SQLException
public java.sql.Connection connect(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
public int getMajorVersion()
public int getMinorVersion()
public boolean jdbcCompliant()
public static void main(java.lang.String args[])
Class Hierarchy Previous Next Index