Tag: automation
-
How to automate java bean to bean mapping in Spring Boot using MapStruct?
Let’s say you are developing an application which fetches data from the database. Let’s say you are using hibernate to do the object relational data mapping. So the data you fetch from database are mapped into Java entity objects . And then you extract data from this entity object into another java bean object (DTO/data…
-
How to automate database migration in Spring Boot using flywaydb?
Let’s say you want to migrate your database to another environment. For example , you have your database set up in development environment and you want to migrate that to test environment. The traditional way to do that is to create scripts for each database change , store them in a file and fire them…