Registry / database / jdbi3-core

jdbi3-core

JSON →
library3.53.0javamavenunverified

Core API for JDBI 3, providing convenient SQL access with Java collections and named parameters.

<dependency> <groupId>org.jdbi</groupId> <artifactId>jdbi3-core</artifactId> <version>3.53.0</version> </dependency>
INSTALL
IMPORT
SIG · JDBI3-CORE
J
jdbi3-core
databasejavav3.53.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Jdbi
org.jdbi.v3.core.Jdbi

Creates an in-memory H2 database, inserts data, and queries it using JDBI.

import org.jdbi.v3.core.Jdbi; public class Example { public static void main(String[] args) { Jdbi jdbi = Jdbi.create("jdbc:h2:mem:test"); jdbi.useHandle(handle -> { handle.execute("CREATE TABLE user (id INT, name VARCHAR)"); handle.execute("INSERT INTO user VALUES (1, 'Alice')"); String name = handle.createQuery("SELECT name FROM user WHERE id = 1") .mapTo(String.class) .one(); System.out.println(name); }); } }
Debug
Known issues
breakingJDBI 3.x is not backward compatible with JDBI 2.x; API and package names changed.
fix
Use org.jdbi.v3 packages instead of org.skife.jdbi.v2.
affects: >=3.0.0
Upgrade
Version history
3.53.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Resources
jdbi3-core — mvn dependency:get jdbi3-core · libregistry