Skip to content

jcabi/jcabi-jdbc

Folders and files

NameName
Last commit message
Last commit date
Feb 23, 2025
Feb 23, 2025
Feb 23, 2025
Feb 23, 2025
Jun 22, 2015
Mar 2, 2025
Dec 22, 2016
Feb 28, 2025
Feb 7, 2025
Apr 7, 2025
Mar 10, 2025
Apr 29, 2025
Apr 14, 2025

Repository files navigation

EO principles respected here DevOps By Rultor.com We recommend IntelliJ IDEA

mvn PDD status Maven Central Javadoc Coverage Status jpeek report Hits-of-Code

More details are here: jdbc.jcabi.com.

Also, read this blog post: Fluent JDBC Decorator.

JdbcSession is a convenient fluent wrapper around JDBC:

import com.jcabi.jdbc.JdbcSession;
public class Main {
  public static void main(String[] args) {
    String name = new JdbcSession(/* JDBC data source */)
      .sql("SELECT name FROM foo WHERE id = ?")
      .set(123)
      .select(new SingleOutcome<String>(String.class));
  }
}

How to contribute?

Fork the repository, make changes, submit a pull request. We promise to review your changes same day and apply to the master branch, if they look correct.

Please run Maven build before submitting a pull request:

$ mvn clean install -Pqulice

Please make sure that you're doing so under user account without administrative rights, otherwise the build will fail (postgresql instance needed for tests can't be launched under admin/root account).