AbstractTransactionalJUnit4SpringContextTests中的executeSqlScript

@Before

public void setUpBeforeClass() {

this.executeSqlScript(

"/net/atpco/dds/offline/filing/job/extraction/gfs-intergration.sql",

true);

}

================================

gfs-intergration.sql

update FREGRP.FARE_BTCH set CHG_FARE_SEQ_CNT=1 where fare_btch_sg in (7160,7180,100007161,500007145,200007162,600007146,1000007370,500007345,1100007371,600007346,1200007372,700007347)

 

update FREGRP.ADD_ON_FARE set FTNT_1_CD='30' where fare_btch_sg in (9615,9616,9617,9618,9619,9620)

你可能感兴趣的:(abstract,execute,sqlscript)