Package org.firebirdsql.jdbc
Interface FirebirdDriver
- All Superinterfaces:
Driver
- All Known Implementing Classes:
FBDriver
Extension of the
Driver providing methods to set the
connection properties programmatically.-
Method Summary
Modifier and TypeMethodDescriptionconnect(FirebirdConnectionProperties properties) Connect to the specified database using the specified connection properties.Create new instance ofFirebirdConnectionPropertiesthat can later be used inconnect(FirebirdConnectionProperties)call.Methods inherited from interface java.sql.Driver
acceptsURL, connect, getMajorVersion, getMinorVersion, getParentLogger, getPropertyInfo, jdbcCompliant
-
Method Details
-
newConnectionProperties
FirebirdConnectionProperties newConnectionProperties()Create new instance ofFirebirdConnectionPropertiesthat can later be used inconnect(FirebirdConnectionProperties)call.- Returns:
- instance of
FirebirdConnectionProperties.
-
connect
Connect to the specified database using the specified connection properties.- Parameters:
properties- instance ofFirebirdConnectionPropertiescreated innewConnectionProperties()method.- Returns:
- new connection to the Firebird database.
- Throws:
SQLException- if an error happened while connecting to the database.
-