apache > db
Apache DB Project
 
Font size:      

Driver

Driver

Syntax

DRIVER String

Description

Takes the value of the string and issues a Class.forName request to load the named class. The class is expected to be a JDBC driver that registers itself with java.sql.DriverManager.

If the Driver command succeeds, a new ij prompt appears for the next command.

Examples


ij> -- load the Derby driver so that a connection
-- can be made: 
driver 'org.apache.derby.jdbc.EmbeddedDriver';
ij> connect 'jdbc:derby:menuDB;create=true';
ij>

Previous Page
Next Page
Table of Contents
Index