![]() |
What Are the Cloudscape Tools and Utilities?
|
|
JDBC BasicsMost of the Cloudscape tools are JDBC applications. A JDBC application is one that uses the classes in the java.sql package to interact with a DBMS. When you work with JDBC applications, you need to know about the following two JDBC concepts: DriversBefore a JDBC application interacts with a database, it must cause the appropriate JDBC driver to be loaded in the Java session. Cloudscape provides three JDBC drivers for use with the Cloudscape database engine. When you use the Cloudscape tools that are JDBC applications, you will need to know which driver to load.
ij is a JDBC-neutral application, which means that you can use it to connect to any database that supplies a JDBC driver. For those databases, you would need to load the supplied JDBC driver. Cloudscape also provides an ODBC driver. Look for information on Cloudscape's Web site. Database Connection URLsA JDBC URL provides a way of identifying a database so that the appropriate driver recognizes it and connects to it. In the Cloudscape documents, a JDBC URL is referred to as a database connection URL. After the driver is loaded, an application must specify the correct database connection URL to connect to a specific database. The Cloudscape database connection URL allows you to accomplish more tasks than simply connecting. For more information about the Cloudscape database connection URLs, see the Cloudscape Developer's Guide. A JDBC URL always starts with jdbc:. After that, the format for the database connection URL depends on the JDBC driver. For the Cloudscape-provided drivers listed above, here are the formats for the database connection URLs for connecting to an existing database:
Here are explanations for the italicized items, which stand for something the user fills in:
For complete information about the database connection URL, see the Cloudscape Developer's Guide. |
|
![]() 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. |