The Limbo JDBC driver is a library for accessing and creating Limbo database files using Java.
The project is actively developed. Feel free to open issues and contribute.
To view related works, visit this issue.
Currently, we have not published to the maven central. Instead, you can locally build the jar and deploy it to maven local to use it.
$ cd bindings/java
# Please select the appropriate target platform, currently supports `macos_x86`, `macos_arm64`, `windows`
$ make macos_x86
# deploy to maven local
$ make publish_localNow you can use the dependency as follows:
dependencies {
implementation("org.github.tursodatabase:limbo:0.0.1-SNAPSHOT")
}To run tests, use the following command:
$ make testTo unify Java's formatting style, we use Spotless. To apply the formatting style, run:
$ make lint_applyTo apply the formatting style for Rust, run the following command:
$ cargo fmt Note that this project is actively developed, so the concepts might change in the future.
LimboDBrepresents a Limbo database.LimboConnectionrepresents a connection toLimboDB. MultipleLimboConnectionscan be created on the sameLimboDB.LimboStatementrepresents a Limbo database statement. MultipleLimboStatementscan be created on the sameLimboConnection.LimboResultSetrepresents the result ofLimboStatementexecution. It is one-to-one mapped toLimboStatement.