说明:C:\Users\Administrator\esapi下ESAPI.properties和validation.properties
package rh;
import java.io.File;
public class TransDemo {
public static TransDemo transDemo;
/**
* 两个库中的表名
*/
public static String bjdt_tablename = "ANSWER";
public static String kettle_tablename = "ANSWER";
/**
* 数据库连接信息,适用于DatabaseMeta其中 一个构造器DatabaseMeta(String xml)
*/
public static final String[] databasesXML = {
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>" +
"<connection>" +
"<name>bjdt</name>" +
"<server>127.0.0.1</server>" +
"<type>Oracle</type>" +
"<access>Native</access>" +
"<database>orcl</database>" +
"<port>1521</port>" +
"<username>queryneea</username>" +
"<password>queryneea</password>" +
"</connection>",
"<?xml vers