Well, I guess it might be interesting to talk about one specific way I have been using for years, ever since I discovered jOOQ, to bridge Java and Postgres databases I use in quite few projects I wrote by now.