kettle2.3.1升级到2.5.0后 相关API的变化

kettle升级到2.5.0,与2.3.1版比较相关API的发生了一些变化......

kettle2.3.1升级到2.5.0后 相关API的变化
use kettle API under version 2.5.0

作者:陈海青(joson chen)

网站:www.chq.name

日期:2007.05.13

 

版权声明:转载或引用本网版权所有之内容须注明“转自(或引自)chq.name (Junit fans)”字样,并标明本网站网址http://www.chq.name


1:需引入新的jar包:commons-vfs-1.0.jar

   should import the new jar:commons-vfs-1.0.jar
2:使用oracle数据库时,构造TransMeta时,可以使用SchemaName参数,而不必在表名加SchemaName,已由www.chq.name使用oracle9i进行了测试.

    when fill in TransMeta ,should use the parameter SchemaName,in 2.3.1,use tablename =SchemaName .  tablename ,tested by www.chq.name on oracle9i.


3:使用新的构造方法StepMeta(fromstepid, fromstepname,(StepMetaInterface) tii) 代替原来的StepMeta(log,fromstepid, fromstepname,(StepMetaInterface) tii)。因为参数logging已经是单实例的,不必再作为参数传送了。  

use new constructor method  StepMeta(fromstepid, fromstepname,(StepMetaInterface) tii),delete the parameter log,for deprecated The logging is now a singlton, use the constructor without it.


4:将TableInputMeta原来的方法 setDatabase(targetDBInfo) 替换为 setDatabaseMeta(targetDBInfo),这个替换很生硬,使用原来的方法直接显示"未定义的方法".

in class TableInputMeta,use method  "setDatabaseMeta(targetDBInfo)" replace the old one ,setDatabase(targetDBInfo),otherwise, compiler will report : The method setDatabase(DatabaseMeta) is undefined for the type TableInputMeta.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值