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: 1 day 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: 2025-04-11T15:56:59.000Z (3 days ago)
- Last Synced: 2025-04-11T16:59:07.836Z (3 days ago)
- Topics: databases, java, jdbc, oop, sql
- Language: Java
- Homepage: https://jdbc.jcabi.com/
- Size: 1.9 MB
- Stars: 107
- Watchers: 9
- Forks: 35
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-java - Jcabi JDBC
README
[](https://www.elegantobjects.org)
[](https://www.rultor.com/p/jcabi/jcabi-jdbc)
[](https://www.jetbrains.com/idea/)[](https://github.com/jcabi/jcabi-jdbc/actions/workflows/mvn.yml)
[](https://www.0pdd.com/p?name=jcabi/jcabi-jdbc)
[](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-jdbc)
[](https://www.javadoc.io/doc/com.jcabi/jcabi-jdbc)
[](https://coveralls.io/github/jcabi/jcabi-jdbc?branch=__rultor)
[](https://i.jpeek.org/com.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).