Package org.firebirdsql.jdbc
Interface FirebirdDriver
-
- All Superinterfaces:
java.sql.Driver
- All Known Implementing Classes:
FBDriver
public interface FirebirdDriver extends java.sql.Driver
Extension of theDriver
providing methods to set the connection properties programmatically.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description FirebirdConnection
connect(FirebirdConnectionProperties properties)
Deprecated.FirebirdConnectionProperties
newConnectionProperties()
Create new instance ofFirebirdConnectionProperties
that can later be used inconnect(FirebirdConnectionProperties)
call.
-
-
-
Method Detail
-
newConnectionProperties
FirebirdConnectionProperties newConnectionProperties()
Create new instance ofFirebirdConnectionProperties
that can later be used inconnect(FirebirdConnectionProperties)
call.- Returns:
- instance of
FirebirdConnectionProperties
.
-
connect
@Deprecated FirebirdConnection connect(FirebirdConnectionProperties properties) throws java.sql.SQLException
Deprecated.Connect to the specified database using the specified connection properties.- Parameters:
properties
- instance ofFirebirdConnectionProperties
created innewConnectionProperties()
method.- Returns:
- new connection to the Firebird database.
- Throws:
java.sql.SQLException
- if an error happened while connecting to the database.
-
-