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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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.

    - ### 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

          FirebirdConnection connect(FirebirdConnectionProperties properties)
                                     throws java.sql.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.
      Throws:
        `java.sql.SQLException` - if an error happened while connecting to the database.

Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.