I am new to Liquibase and I try to use it in a Java Class.
With the Liquibase Object I can update a Database (Liquibase update method).
With the CommandLineUtils.doGenerateChangeLog(…) method I can also generate a ChangeLog file directly (great feature )
I would like to be able to generate a SQL Query File to be able to review the SQL Query. I’ve seen it is possible with the CommandLine tool, but I need a way to do it programmatically…
Is there a way to do it?
If not I will try with a ProcessBuilder…
Thanks a lot in advance!