Package org.cyclos.db

Interface Migration

    • Method Detail

      • getAffectedMessage

        default String getAffectedMessage()
        Custom message to inform the affected data.
        If not null then message must contains 2 place holders: one for the migration class an another for the affected count Eg: "{} rows affected while executing migration class: {}"
      • run

        int run()
         throws Exception
        Apply the migration, returning the total number of affected records
        Throws:
        Exception