Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duckdb/duckdb-java
DuckDB JDBC Driver
https://github.com/duckdb/duckdb-java
database duckdb java jdbc sql
Last synced: about 4 hours ago
JSON representation
DuckDB JDBC Driver
- Host: GitHub
- URL: https://github.com/duckdb/duckdb-java
- Owner: duckdb
- License: mit
- Created: 2024-04-26T14:33:42.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-15T00:35:36.000Z (3 days ago)
- Last Synced: 2024-11-15T01:25:11.726Z (3 days ago)
- Topics: database, duckdb, java, jdbc, sql
- Language: C++
- Homepage: https://duckdb.org/docs/api/java.html
- Size: 21.6 MB
- Stars: 41
- Watchers: 5
- Forks: 21
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
It's required to have a JDK installed to build.
Make sure the `JAVA_HOME` environment variable is set.### Development
To build the driver, run `make release`.
This will produce two jars in the build folder:
`build/release/duckdb_jdbc.jar`
`build/release/duckdb_jdbc_tests.jar`The tests can be ran using using `make test` or this command
```
java -cp "build/release/duckdb_jdbc_tests.jar:build/release/duckdb_jdbc.jar" org/duckdb/TestDuckDBJDBC
```This optionally takes an argument to only run a single test, for example:
```
java -cp "build/release/duckdb_jdbc_tests.jar:build/release/duckdb_jdbc.jar" org/duckdb/TestDuckDBJDBC test_valid_but_local_config_throws_exception
```