Files
turso/bindings/java
Pekka Enberg 3baca19f75 Merge 'bindings/java: Implement close() for LimboStatement and LimboResultSet ' from Kim Seon Woo
## Purpose of this PR
- Implement `close()` method for `LimboStatement`(+`JDBC4Statement`) and
`LimboResultSet`(+ `JDBC4ResultSet`)
## Changes
- Add `consumeAll` method in `LimboResultSet`
- Implement `close()` methods
  - Because  `JDBC4Statement` has longer lifecycle in compared to
`LimboStatement`, we manage different `close` fields(`LimboStatement` is
created when first `execute` method is called on `JDBC4Statemenet`)
## Reference
- [Issue](https://github.com/tursodatabase/limbo/issues/615)

Closes #799
2025-01-28 14:18:01 +02:00
..
2025-01-05 10:28:05 +02:00
2025-01-05 10:28:05 +02:00
2025-01-05 10:28:05 +02:00
2025-01-05 10:28:05 +02:00
2025-01-26 20:04:30 +09:00
2025-01-28 10:48:44 +09:00
2025-01-05 10:28:05 +02:00

Limbo JDBC Driver

The Limbo JDBC driver is a library for accessing and creating Limbo database files using Java.

Project Status

The project is actively developed. Feel free to open issues and contribute.

To view related works, visit this issue.

Development

How to Run Tests

To run tests, use the following command:

$ make test

Code Formatting

To unify Java's formatting style, we use Spotless. To apply the formatting style, run:

$ make lint_apply

To apply the formatting style for Rust, run the following command:

$ cargo fmt 

Concepts

Note that this project is actively developed, so the concepts might change in the future.

  • LimboDB represents a Limbo database.
  • LimboConnection represents a connection to LimboDB. Multiple LimboConnections can be created on the same LimboDB.
  • LimboStatement represents a Limbo database statement. Multiple LimboStatements can be created on the same LimboConnection.
  • LimboResultSet represents the result of LimboStatement execution. It is one-to-one mapped to LimboStatement.