Simple Java SQL builder
String query = SQL.create()
.select("u.name", "a.address", "u.phone")
.from("user u", "address a")
.where("u.id").is(1)
.and("u.address_id = a.id")
.toString();
will produce
select u.name, a.address, u.phone
from user u, address a
where u.id = 1
and u.address_id = a.id
To improve logs readability every line ends with \n
symbol.
You can get full list of features by tests file.