Permalink
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (35 sloc) 2.96 KB

Build Status Maven Central

bootique-jdbc

Provides a number of modules for your Bootique apps to work with JDBC data stores:

  • bootique-jdbc - an abstract module providing injectable configurable map of named JDBC connection pools (java.sql.DataSource instances). Normally you won't be importing this module directly. It will be added automatically as a transitive dependency of concrete modules. There are currently two choices shown below - Tomcat and Hikari.

  • bootique-jdbc-tomcat - a concrete module that provides configurable Tomcat Connection Pool.

  • bootique-jdbc-hikaricp - a concrete module that provides configurable Hikari Connection Pool.

  • bootique-jdbc-tomcat-instrumented - a variation of bootique-jdbc-tomcat with support for performance metrics.

  • bootique-jdbc-hikaricp-instrumented - a variation of bootique-jdbc-hikaricp with support for performance metrics and health checks.

  • bootique-jdbc-test - a DB unit testing facility that helps to prepare test datasets and run assertions against the DB data. Supports API-based and CSV-based data sets. Can be used to test any apps that read or write from/to RDBMS. E.g. Bootique JDBC apps, non-Bootique JDBC apps, Cayenne apps.

See usage example bootique-jdbc-demo.