Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

How to identify changes inside changeset when manipulating XML?

$
0
0
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?

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>