Hacker News new | ask | show | jobs
by andrewliakh 2298 days ago
We actually thought Mongo can be a problem for relations, but opted for it since we are used to it’s comfort of use. Can you recommend any good Java SQL libraries that automatically handle table creation and migrations? We’re so used to having those options it’s hard to go back to writing queries for the DB to do all that.
1 comments

Have a look at liquibase and flyway. Personally I love using flyway together with jOOQs' code generation (concretely, running the migrations against a docker db container during build, and code-generating the entities/records then based on it).