org.firebirdsql.jdbc

Interface FirebirdDriver

All Superinterfaces:
Driver
Known Implementing Classes:
FBDriver

public interface FirebirdDriver
extends Driver

Extension of the java.sql.Driver providing methods to set the connection properties programmatically.

Method Summary

FirebirdConnection
connect(FirebirdConnectionProperties properties)
Connect to the specified database using the specified connection properties.
FirebirdConnectionProperties
newConnectionProperties()
Create new instance of FirebirdConnectionProperties that can later be used in connect(FirebirdConnectionProperties) call.

Method Details

connect

public FirebirdConnection connect(FirebirdConnectionProperties properties)
            throws SQLException
Connect to the specified database using the specified connection properties.
Parameters:
properties - instance of FirebirdConnectionProperties created in newConnectionProperties() method.
Returns:
new connection to the Firebird database.

newConnectionProperties

public FirebirdConnectionProperties newConnectionProperties()
Create new instance of FirebirdConnectionProperties that can later be used in connect(FirebirdConnectionProperties) call.
Returns:
instance of FirebirdConnectionProperties.

Copyright B) 2001 David Jencks and other authors. All rights reserved.