时间:2021-07-01 10:21:17 帮助过:2人阅读
Compile the .java class from the command line
Create .jar file from the class
D:\>javac FileWriter.java D:\>jar cvf FileWriter.jar FileWriter.class 已添加清单 正在添加: FileWriter.class(输入 = 844) (输出 = 523)(压缩了 38%) D:\>
C:\Users\<user-name>\AppData\Roaming\odi\oracledi\userlib
比如我的为
C:\Users\XQZT\AppData\Roaming\odi\oracledi\userlib
代码如下
import os import sys import FileWriter fw=FileWriter() fw.writeFile()
http://karanbalkar.com/2013/06/tutorial-33-using-custom-java-code-in-odi/
http://shrikantdhagefmw.blogspot.com/2014/05/invoking-jar-in-oracle-data-integrator.html
http://askankit.blogspot.com/2010/09/call-java-jar-methods-from-odi.html
Invoking jar in Oracle Data Integrator
标签: