-
Notifications
You must be signed in to change notification settings - Fork 22
Motivation
Zsolt Herpai edited this page Apr 2, 2015
·
18 revisions
####Motivation#### FluentJdbc provides a fluent API for executing native SQL queries in java. It is best suited for projects that require fine control over SQL queries and operations in a convenient, declarative way. Can be used standalone or complement higher level abstractions like JPA or others.
#####Main features / advantages over plain JDBC#####
- a flexible, functional API making the most common JDBC operations trivial one-liners
- implicit resource management, avoiding leaks of Connections, PreparedStatements, ResultSets
- out of the box support for java.time, extension API for more custom types
- automatic mapping of results to POJOs
- named query parameters
<dependency>
<groupId>org.codejargon</groupId>
<artifactId>fluentjdbc</artifactId>
<version>0.9.3</version>
</dependency>