org.firebirdsql.jdbc

## Interface FirebirdDriver

- All Superinterfaces:
    java.sql.Driver
  All Known Implementing Classes:
    FBDriver

      public interface FirebirdDriver
      extends java.sql.Driver

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

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `FirebirdConnection` | `connect(FirebirdConnectionProperties properties)` Deprecated.
    `FirebirdConnectionProperties` | `newConnectionProperties()` Create new instance of `FirebirdConnectionProperties` that can later be used in `connect(FirebirdConnectionProperties)` call.

    - ### Methods inherited from interface java.sql.Driver

      `acceptsURL, connect, getMajorVersion, getMinorVersion, getParentLogger, getPropertyInfo, jdbcCompliant`

- - ### Method Detail

    - #### newConnectionProperties

          FirebirdConnectionProperties newConnectionProperties()

      Create new instance of `FirebirdConnectionProperties` that can later be used in `connect(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 of `FirebirdConnectionProperties` created in `newConnectionProperties()` method.
      Returns:
        new connection to the Firebird database.
      Throws:
        `java.sql.SQLException` - if an error happened while connecting to the database.

Copyright © 2001-2025 Jaybird (Firebird JDBC) team. All rights reserved.