![]() |
JDBC Reference
|
Reference Manual |
java.sql.DriverJDBC provides different ways to load a driver, listed below. Embedded DatabasesThe class that loads Cloudscape's local JDBC driver is the class COM.cloudscape.core.JDBCDriver. Some of the ways listed below create instances of the Cloudscape driver class. Do not use the class directly via the java.sql.Driver interface. Use the DriverManager class to create connections.
java -Djdbc.drivers=COM.cloudscape.core.JDBCDriver The actual driver that gets registered in the DriverManager to handle the jdbc:cloudscape: protocol is not the class COM.cloudscape.core.JDBCDriver; that class simply detects the type of Cloudscape driver needed and then causes the appropriate Cloudscape driver to be loaded. The only supported way to connect to a Cloudscape system through the jdbc:cloudscape: protocol is using the DriverManager to obtain a driver (java.sql.Driver) or connection (java.sql.Connection) through the getDriver and getConnection method calls. CloudconnectorFor clients to Cloudconnector, you load the client JDBC driver with the class COM.cloudscape.core.WebLogicDriver in the same manner as that prescribed for an embedded environment. See the Cloudscape Server and Administration Guide for more information. RmiJdbcFor clients to the RmiJdbc server, you load the client JDBC driver with the class COM.cloudscape.core.RmiJdbcDriver in the same manner as that prescribed for an embedded environment. See the Cloudscape Server and Administration Guide for more information. |
|
![]() Cloudscape Version 3.6 For information about Cloudscape technical support, go to: www.cloudscape.com/support/.Copyright © 1998, 1999, 2000 Informix Software, Inc. All rights reserved. |