Class SqlFixFactory

All Implemented Interfaces:
FixFactory<String>

public class SqlFixFactory extends AbstractFixFactory<String>
Creates SQL statements that aim to fix a specific error. To add new fixes, create public method, annotated with Subscribe and one argument that is the CheckEvent a fix needs to be generated for. You can add multiple methods for one event, in that case the outputs are concatenated. The method must be declared to return Iterable<String> If the SQL is database specific, try to use liquibase' change classes and toSql(Change) to generate SQL statements. This takes care of some database specific things. If the SQL complies to the SQL92 standard, you may omit it...