Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcabi/jcabi-jdbc
Fluent Object-Oriented Wrapper of JDBC
https://github.com/jcabi/jcabi-jdbc
databases java jdbc oop sql
Last synced: 4 days ago
JSON representation
Fluent Object-Oriented Wrapper of JDBC
- Host: GitHub
- URL: https://github.com/jcabi/jcabi-jdbc
- Owner: jcabi
- License: other
- Created: 2013-09-04T10:02:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-11-21T12:55:26.000Z (about 1 month ago)
- Last Synced: 2024-11-29T08:52:08.833Z (23 days ago)
- Topics: databases, java, jdbc, oop, sql
- Language: Java
- Homepage: https://jdbc.jcabi.com/
- Size: 1.89 MB
- Stars: 104
- Watchers: 10
- Forks: 31
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)
[![Managed by Zerocracy](https://www.0crat.com/badge/C3RUBL5H9.svg)](https://www.0crat.com/p/C3RUBL5H9)
[![DevOps By Rultor.com](http://www.rultor.com/b/jcabi/jcabi-jdbc)](http://www.rultor.com/p/jcabi/jcabi-jdbc)
[![We recommend IntelliJ IDEA](https://www.elegantobjects.org/intellij-idea.svg)](https://www.jetbrains.com/idea/)[![mvn](https://github.com/jcabi/jcabi-jdbc/actions/workflows/mvn.yml/badge.svg)](https://github.com/jcabi/jcabi-jdbc/actions/workflows/mvn.yml)
[![PDD status](http://www.0pdd.com/svg?name=jcabi/jcabi-jdbc)](http://www.0pdd.com/p?name=jcabi/jcabi-jdbc)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-jdbc/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-jdbc)
[![Javadoc](https://javadoc.io/badge/com.jcabi/jcabi-jdbc.svg)](http://www.javadoc.io/doc/com.jcabi/jcabi-jdbc)
[![Coverage Status](https://coveralls.io/repos/jcabi/jcabi-jdbc/badge.svg?branch=__rultor&service=github)](https://coveralls.io/github/jcabi/jcabi-jdbc?branch=__rultor)
[![jpeek report](https://i.jpeek.org/com.jcabi/jcabi-jdbc/badge.svg)](https://i.jpeek.org/com.jcabi/jcabi-jdbc/)
[![Hits-of-Code](https://hitsofcode.com/github/jcabi/jcabi-jdbc)](https://hitsofcode.com/view/github/jcabi-jdbc)More details are here: [jdbc.jcabi.com](http://jdbc.jcabi.com/index.html).
Also, read this blog post:
[_Fluent JDBC Decorator_](http://www.yegor256.com/2014/08/18/fluent-jdbc-decorator.html).`JdbcSession` is a convenient fluent wrapper around JDBC:
```java
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.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).