Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrotteveel/jaybird-embedded-win32-x86-64

Firebird Embedded deployment for Jaybird 5
https://github.com/mrotteveel/jaybird-embedded-win32-x86-64

Last synced: 15 days ago
JSON representation

Firebird Embedded deployment for Jaybird 5

Awesome Lists containing this project

README

        

# Firebird Embedded Windows x86-64 for Jaybird

[![MavenCentral](https://maven-badges.herokuapp.com/maven-central/org.firebirdsql.embedded/jaybird-firebird-embedded-win32-x86-64/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.firebirdsql.embedded/jaybird-firebird-embedded-win32-x86-64/)

This is an experimental library to provide Firebird embedded on the classpath of
Java applications. It requires Jaybird 5.0.0 or higher.

For now, we only provide releases for Windows x86-64, but we will try to release
a variant for Linux x86-64 in the future.

NOTE: This feature is experimental in Jaybird 5, and may be removed or radically
changed in future versions.

Usage
-----

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

```xml


org.firebirdsql.embedded
jaybird-firebird-embedded-win32-x86-64
4.0.4.0-alpha-1


org.firebirdsql.jdbc
jaybird
5.0.3.java11


net.java.dev.jna
jna
5.12.1

```

You can now use the embedded protocol without having Firebird embedded installed:

```java
public class Example {
public static void main(String[] args) {
try (Connection connection = DriverManager.getConnection(
"jdbc:firebirdsql:embedded:mydb.fdb", "user", "")) {
// use connection
} catch (SQLException e) {
e.printStackTrace();
}
}
}
```

Build information
-----------------

### Version ###

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

Suffixes like `-alpha-1` apply to this library, and not Firebird itself. It
intends to reflect that the library is still experimental.