jdbi is designed to provide convenient tabular data access in Java; including templated SQL, parameterized and strongly typed queries, and Streams integration
Clone or download
stevenschlansker Merge pull request #1308 from jdbi/connection-factory-close
ConnectionFactory: add a closeConnection with default
Latest commit 5916e0f Nov 13, 2018
Permalink
Failed to load latest commit information.
bom 3.6.0-SNAPSHOT Nov 10, 2018
commons-text 3.6.0-SNAPSHOT Nov 10, 2018
core SingleConnectionFactory: not public, use Jdbi.create(Connection) Nov 12, 2018
docs 3.6.0-SNAPSHOT Nov 10, 2018
freemarker 3.6.0-SNAPSHOT Nov 10, 2018
guava 3.6.0-SNAPSHOT Nov 10, 2018
jodatime2 3.6.0-SNAPSHOT Nov 10, 2018
jpa 3.6.0-SNAPSHOT Nov 10, 2018
kotlin-sqlobject 3.6.0-SNAPSHOT Nov 10, 2018
kotlin 3.6.0-SNAPSHOT Nov 10, 2018
noparameters 3.6.0-SNAPSHOT Nov 10, 2018
oracle12 [maven-release-plugin] prepare for next development iteration Oct 9, 2018
postgres 3.6.0-SNAPSHOT Nov 10, 2018
spring4 Fix SpringConnectionHandler -> ConnectionFactory Nov 12, 2018
sqlite 3.6.0-SNAPSHOT Nov 10, 2018
sqlobject 3.6.0-SNAPSHOT Nov 10, 2018
src/build bash -> sh; factor out env vars Sep 13, 2018
stringtemplate4 3.6.0-SNAPSHOT Nov 10, 2018
testing 3.6.0-SNAPSHOT Nov 10, 2018
vavr 3.6.0-SNAPSHOT Nov 10, 2018
.editorconfig we do linux line endings here Apr 13, 2018
.gitattributes we do linux line endings here Apr 13, 2018
.gitignore oracle12: activate profile by flag file, update docs Jan 22, 2017
.travis.yml bash -> sh; factor out env vars Sep 13, 2018
4.0_TODO Add a cleanup note for throwables onlyException Oct 28, 2018
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Dec 15, 2017
CONTRIBUTING.md grammar Oct 28, 2018
CONTRIBUTORS fair addition? Oct 28, 2018
COPYRIGHT.md remove copyright lines from source code Sep 17, 2015
LICENSE Initial Jan 22, 2005
README.md Update readme per #1292 Oct 28, 2018
RELEASE_NOTES ConnectionFactory: add a closeConnection with default Nov 10, 2018
pom.xml 3.6.0-SNAPSHOT Nov 10, 2018

README.md

Jdbi Logo

Build Status

The Jdbi library provides convenient, idiomatic access to relational databases in Java.

Jdbi is built on top of JDBC. If your database has a JDBC driver, you can use Jdbi with it.

Prerequisites

Jdbi 3 requires Java 8 or better.

We run CI tests against all currently supported versions, and recommend Java 11.

Builds

Jdbi is built with Maven:

$ mvn clean install

The tests use real Postgres, H2, and Oracle databases.

For Postgres and H2, you do not need to install anything--the tests will spin up temporary database servers as needed.

By default, the build skips over jdbi3-oracle12. Oracle keeps their JDBC drivers in a password-protected Maven repository, so some additional setup is required before jdbi3-oracle12 can build. CONTRIBUTING.md contains instructions to help set up your environment to build jdbi3-oracle12.

Contributing

Please read CONTRIBUTING.md for instructions to set up your development environment to build Jdbi.

Versioning

We use SemVer for versioning.

License

This project is licensed under the Apache 2.0 license.

Project Members

  • Brian McCallister (@brianm) - Project Founder
  • Steven Schlansker (@stevenschlansker)
  • Henning Schmiedehausen (@hgschmie)
  • Matthew Hall (@qualidafial)
  • Artem Prigoda (@arteam)

Special Thanks

  • Alex Harin (@aharin) - Kotlin plugins.
  • Ali Shakiba (@shakiba) - JPA plugin
  • @alwins0n - Vavr plugin.
  • Fred Deschenes (@FredDeschenes) - Kotlin unchecked extensions for Jdbi functions. @BindFields, @BindMethods annotations.