jOOQ

jOOQ is a fluent API for Java that enables typesafe SQL query construction and execution. It generates Java code from database schemas, supports advanced SQL features, and ensures compile-time SQL syntax and type checking, making SQL in Java easy and reliable.