Simplify Local Development with Testcontainers

In this blog post, I will explain how you can you can reuse your existing testing infrastructure based on Testcontainers for local development. In my previous blog posts ( part-1, part-2), I have explained how we can use docker-compose to start containers and use them for local development. If you are using Testcontainers library for…

Liquibase: Invocation of init method failed; nested exception is liquibase.exception.ValidationFailedException: Validation Failed:

In this blog post we will look at the troubleshooting issues encountered while using Liquibase database migrations and how to resolve them. One of the issue you might encounter while working with Liquibase is validation failure related to checksum like below Liquibase keeps track of applied changesets using checksum of the file. If you change…

Liquibase: “cvc-elt.1.a: Cannot find the declaration of element databaseChangeLog” in xml changeLog file

In this blog post we will look at the troubleshooting issues encountered while using Liquibase database migrations and how to resolve them. If you are using xml changelog files and if you take name space declaration from the Liquibase documentation You will encounter Cannot find the declaration of element ‘databaseChangeLog’ error in your startup log….

Database Migrations with Liquibase and Spring Boot

In this blog post , I’ll show you how to do database migrations in Spring Boot applications with Liquibase. I’ll show the process of integrating Liquibase, creating migrations, and migrating your database using Liquibase library. I have already covered about database migrations in detail in one of my previous blog post, in that article I…