https://github.com/mrotteveel/jaybird-fbclient
Firebird Native Client Distribution for Jaybird
https://github.com/mrotteveel/jaybird-fbclient
fbclient firebird java jaybird jdbc
Last synced: about 1 year ago
JSON representation
Firebird Native Client Distribution for Jaybird
- Host: GitHub
- URL: https://github.com/mrotteveel/jaybird-fbclient
- Owner: mrotteveel
- Created: 2019-05-11T12:54:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-05T11:25:01.000Z (about 1 year ago)
- Last Synced: 2025-04-05T12:25:24.111Z (about 1 year ago)
- Topics: fbclient, firebird, java, jaybird, jdbc
- Homepage:
- Size: 36.4 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
Firebird Native Client Distribution for Jaybird
===============================================
[](https://maven-badges.herokuapp.com/maven-central/org.firebirdsql.jdbc/fbclient/)
Bundle of [Firebird](https://www.firebirdsql.org/) native client libraries for
use with Jaybird 3 and higher.
This bundle packages `fbclient.dll`/`libfbclient.so` for the following
platforms:
* Windows (x86, and x86-64)
* Linux (x86, x86-64, and, since 5.0.1.0, aarch64, and arm)
* macOS (since 5.0.1.0: x86-64, and aarch64)
It can be used with [Jaybird](https://github.com/FirebirdSQL/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:
```xml
org.firebirdsql.jdbc
fbclient
5.0.2.0
org.firebirdsql.jdbc
jaybird
6.0.1
org.firebirdsql.jdbc
jaybird-native
6.0.1
```
You can now use the native protocol without having fbclient on the library path:
```java
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();
}
}
}
```
### OS-specific packages
Since version 5.0.1.1, it is possible to only download libraries for a specific
OS and, optionally, architecture. If you add a `classifier` to the Maven
`dependency`, it will only download the JAR with libraries for that specific OS,
or only the library for the specified OS and architecture.
The available classifiers are:
* `darwin` (macOS)
* `darwin-aarch64`
* `darwin-x86`
* `linux` (Linux)
* `linux-aarch64`
* `linux-arm`
* `linux-x86`
* `linux-x86-64`
* `win32` (Windows)
* `win32-x86`
* `win32-x86-64`
The names of the classifiers are the technical names used by JNA (Java Native
Access) for identifying libraries for a specific platform.
For example, to only get the Windows 64-bit (x86-64/AMD64) library:
```xml
org.firebirdsql.jdbc
fbclient
5.0.1.1
win32-x86-64
```
Download
--------
### Version 5.0.2.0 ###
[fbclient-5.0.2.0.jar](https://repo1.maven.org/maven2/org/firebirdsql/jdbc/fbclient/5.0.2.0/)
### Version 4.0.5.0 ###
[fbclient-4.0.5.0.jar](https://repo1.maven.org/maven2/org/firebirdsql/jdbc/fbclient/4.0.5.0/)
### Version 3.0.12.0 ###
[fbclient-3.0.12.0.jar](https://repo1.maven.org/maven2/org/firebirdsql/jdbc/fbclient/3.0.12.0/)
Build information
-----------------
### Version ###
The version has 4 components. The first three are the Firebird version that
sourced the libraries (e.g. 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.