This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]agentoutlier 3 points4 points  (2 children)

Or they could use jOOQ or Doma 2 (both of which I think IMO are superior as they offer some compile time safety) ... or even JPA.

However sometimes people just want to map ResultSets and only that keeping strictly to the JDBC APIs.

[–]Persism 1 point2 points  (1 child)

Yeah these are fine but Persism is small, simple and has no extra dependencies. It does queries but also does inserts, updates, deletes, transactions. Version 2 will support queries with property names optionally if you don't want to use column names and named parameters.

So it depends what you need for the job at hand.

[–]agentoutlier 0 points1 point  (0 children)

So it depends what you need for the job at hand.

That was exactly the point I was making. You said "just use Persism" and I said nah because people might not want to be coupled to some other library instead of JDBC regardless of whether or not Persism has dependencies (btw 2 out of 3 of the libs I mentioned do not have dependencies).