Hello
I am developing an interface web for generate liquibase changelog, and I need to identify a change inside a changeset (something like an id attribute) tag for edit purposes.
For example:
I read changelog XML file
Parse it to java object (JAXB parsing)
Then I manipulate these objects in a web page to save/edit
And finally persist XML changed file again
The problem: I cannot identify a change in my page (createTable, dropColumn, etc..) for edit and override last one in changelog.xml
**** EDIT ****
For more information about what I am developing:
I create a Changelog
A Changeset that has N Changes (is it a bad practice? should I use 1 change for 1 changeset for id needs?)
Then I can edit it from a web interface, editing a changeset (N changes), save and generate new changelog
Could you help me define the best practice for this kind of manipulation?