I use the Oracle Extensions Plugin for Liquibase but I have a problem with the “addCheck” change.
This change requires the check conditions to be defined as an xml attribute. This prevents the usage of “<” in check conditions.
I have created my own change that allows to define the check condition as xml cdata inside the addCheck element like this:
In order to do so, I needed to adjust the XMLChangeLogSAXHandler to parse the nested CDATA text. I have created a new interface “ChangeWithNestedData” analogous to the existing “ChangeWithColumns” interface to let the parser set the nested data to the change. This can be useful for others that need to create changes that interpret nested text in the xml element.
Do you want me to create a JIRA issue for this and check in my changes?
Should I merge my change with the Oracle Extension addCheck change or keep it as my separate change?