Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 2.44 KB

README.md

File metadata and controls

51 lines (38 loc) · 2.44 KB

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

Build Status 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));
  }
}

Limitations

UUID data type is not supported.

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).