Remix.run Logo
JOOQ: The easiest way to write SQL in Java(jooq.org)
1 points by Tomte 7 hours ago | 1 comments
pmontra 5 hours ago | parent [-]

The easiest way is still too verbose. I quote an example. After a record got into r:

  Integer id = r.getValue(AUTHOR.ID);
  String firstName = r.getValue(AUTHOR.FIRST_NAME);
  String lastName = r.getValue(AUTHOR.LAST_NAME);
I would expect

  r.id
  r.first_name
  r.last_name
If the ORM has to create the classes for the tables, let it do it.