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.

Example

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>
Related concepts
ij commands
ij errors
Related reference
Absolute
After Last
Async
Autocommit
Before First
Close
Commit
Connect
Disconnect
Elapsedtime
Execute
Exit
First
Get Cursor
Get Scroll Insensitive Cursor
Help
Last
LocalizedDisplay
MaximumDisplayWidth
Next
Prepare
Previous
Protocol
Readonly
Relative
Remove
Rollback
Run
Set Connection
Show Connections
Wait For
Comment
Identifier
String