GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - duckdb/duckdb-java: DuckDB JDBC Driver

BranchesTags
Open more actions menu

Latest commit

 

History

1,826 Commits
1,826 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
META-INF
META-INF
 
 
data
data
 
 
scripts
scripts
 
 
src
src
 
 
.clang-format
.clang-format
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
CMakeLists.txt.in
CMakeLists.txt.in
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
JFR.md
JFR.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
SQL_ERRORS.md
SQL_ERRORS.md
 
 
UDF.MD
UDF.MD
 
 
duckdb_extension_config.cmake
duckdb_extension_config.cmake
 
 
duckdb_java.def
duckdb_java.def
 
 
duckdb_java.exp
duckdb_java.exp
 
 
duckdb_java.map
duckdb_java.map
 
 
generator.py
generator.py
 
 
header2whatever.yaml
header2whatever.yaml
 
 
vendor.py
vendor.py
 
 

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

The string write performance benchmark is optional and can be run with:

make stress

Override its workload with PERF_ROWS and PERF_SAMPLES if needed. The benchmark is intentionally not part of the regular test suite.

Scalar function usage examples: UDF.MD

JFR memory monitoring usage: JFR.md

About

DuckDB JDBC Driver

duckdb.org/docs/api/java

Topics

databaseduckdbjavajdbcsql

Resources

Readme
MIT license

Code of conduct

Code of conduct
Activity
Custom properties

Stars

129 stars

Watchers

9 watching

Forks

85 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.