Using InterClient Driver Object to Get a Connection

From InterBase

Go Up to Opening a Database Connection


If you are using the driver object to get a connection, use the connect() method. This method does the same thing and takes the same arguments as getConnection().

For example:

//Create the InterClient driver object explicitly
java.sql.Driver driver = new interbase.interclient.Driver();
//Open a database connection using the driver's connect method of the
java.sql.Connection connection = driver.connect(url, properties);

Advance To: