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

Re : CustomtaskChange passing a parameter

$
0
0
Hi Daniel

Just tried the command and it is not working,


  1. public class TableSiteGUID implements liquibase.change.custom.CustomTaskChange {
  2.     private String table;
  3.     public void SetTableName(String table) {
  4.         this.table = table;
  5.     }




  1.     <changeSet author="me" id="add suppliers primarykey (MS)" >
  2.         <customChange class="uk.jdl.pos.util.TableSiteGUID" >          
  3.             <param name="SetTableName" value="tests"/>
  4.         </customChange>
  5.     </changeSet>



it seems to fail when it tries to run the param setting, with out that the class will execute.

John



Viewing all articles
Browse latest Browse all 2993

Trending Articles



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