Skip to content

Firebird Native Client Distribution for Jaybird

Notifications You must be signed in to change notification settings

mrotteveel/jaybird-fbclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firebird Native Client Distribution for Jaybird

MavenCentral

Bundle of Firebird native client libraries for use with Jaybird 3 and higher.

This bundle packages fbclient.dll/libfbclient.so for the Windows and Linux platforms (x86 32- and 64-bit), and can be used with Jaybird for the native and local protocols. It does not support the embedded protocol.

Usage

To use this bundle, you need to depend on this library, your preferred Jaybird 3 (or higher) version, and the JNA version required by that version of Jaybird:

<dependencies>
    <dependency>
        <groupId>org.firebirdsql.jdbc</groupId>
        <artifactId>fbclient</artifactId>
        <version>4.0.4.0</version>
    </dependency>
    <dependency>
        <groupId>org.firebirdsql.jdbc</groupId>
        <artifactId>jaybird</artifactId>
        <version>5.0.3.java11</version>
    </dependency>
    <dependency>
        <groupId>net.java.dev.jna</groupId>
        <artifactId>jna</artifactId>
        <version>5.12.1</version>
    </dependency>
</dependencies>

You can now use the native protocol without having fbclient on the library path:

public class Example {
    public static void main(String[] args) {
        try (Connection connection = DriverManager.getConnection(
                "jdbc:firebird:native:localhost:employee", "user", "password")) {
            // use connection
        } catch (SQLException e) {
            e.printStackTrace();
        }
    }
}

Download

Version 4.0.4.0

fbclient-4.0.4.0.jar

Version 3.0.11.0

fbclient-3.0.11.0.jar

Build information

Version

The version has 4 components. The first three are the Firebird version that sourced the libraries (eg 3.0.4). The last part is a 'build' identifier, which should usually be 0. The 'build' identifier may be incremented for patches or new platforms added.