I�m using a customChange that calls out to a java class to prepare some sql statements dynamically. The first time I run it, I�ll get maybe 40 statements. The second time it�s run, 0 statements should be generated because the changeSet has already been run.
However, I would have expected that the 2nd time I run � the changeSet would be skipped because the checksum would be the same. But, because of the dynamic sql being returned from the customChange, I�m thinking that the changeSet checksum is calculated differently on each run?
So, question 1 � when is the changeSet checksum calculated?
Question 2 � how can I skip the changeSet the second time consistently? I�ve tried to use preconditions but they don�t appear to take affect because the checksum appears to be calculated before the precondition runs? Is that a true statement?