I need to migrate the database access layer of my VertX application.

Now I'm using async-jdbc and jooq together over this library jklingsporn/vertx-jooq.

Until now, the custom jooq generator from that library was generating some interfaces to convert from io.vertx.core.json.JsonObject to the domain entity and vice-versa. However after starting to migrate for the reactive-pg-client I can't reuse that converters because the library returns a io.reactiverse.pgclient.Row.

So my first approach was to create my own converters from Row to the domain entity, but I'm not very happy with this implementation.

Any ideas how to do this in a different way?

0 Answers