Skip to content

jghoman/duckdb-java

 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.3%
  • Java 3.0%
  • C 1.5%
  • CMake 0.1%
  • Python 0.1%
  • Shell 0.0%