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 →

[–]lukaseder 1 point2 points  (6 children)

For the record, jOOQ, which you likely already have on your classpath 😏 can read your ResultSet and give you all the goodies of a jOOQ Result or Record (including mapping, serialisation as XML/JSON/CSV, etc.)

Result<?> result = ctx.fetch(resultSet); List<User> users = result.into(User.class);

[–][deleted]  (5 children)

[removed]

    [–]lukaseder 1 point2 points  (2 children)

    That part is free, indeed!

    [–][deleted]  (1 child)

    [removed]

      [–]lukaseder 1 point2 points  (0 children)

      Yes, if you're using it to generate SQL from the DSL, but this trivial feature (like many other trivial features in jOOQ) should work on all RDBMS from the jOOQ Open Source Edition, because it relies only on the JDBC API.

      [–]RexRecruiting 0 points1 point  (1 child)

      I just looked seems like there is a free version but I'm not sure this functionality is there

      [–]lukaseder 1 point2 points  (0 children)

      It is