Last week I read about the quick start of Liquibase and all the tutorials related to it, but it seems to me that I am not getting all the drift about using it for sequential changes in the database, and I have some questions that are still open.
I am developing an application in netbeans using maven with 3 modules: dbunit module, service module and webapp module. As you might have guessed that dbunit works with the database, the service is on top of it, and webapp uses services.so the parent pom has the declaration of all groups, artifacts and versions for all jars and plugins.
I managed to create the change file from the command line, since db already exists, and suppose I configured correctly using the libibase maven plugin:
question 1 . What will be the purpose of the educational program, since right now I'm doing a database change right now?
Question 2 . If I want to add, for example, a new table to the database, add this new changeSet to the same changes file or do I need to create a new changelog.xml file?
Question 3 . I believe that when dbunit starts, it will launch a set of changes, but is it necessary to add a plugin to the webapp module (perhaps to launch the Liquibase target before deploying with the plugin to load) or will dbunit take care of this?
Question 4 : what exactly is subversive activity that helps maintain the state of the change log (assuming that there is only one change log in question 2)
Thanks for reading this and for helping.