提示报错:
TNS:listener does not currently know of SID given in connect desc .
dataSourceLis : {
type : "com.alibaba.druid.pool.DruidDataSource",
events : {
create : "init",
depose : 'close'
},
fields : {
url : "jdbc:oracle:thin:@10.60.61.1:1521:jyhisdb",
driverClassName : "oracle.jdbc.driver.OracleDriver",
username : "jycx",
password : "jycx",
maxWait : 15000,
validationQuery : "select 1 from dual",
//testWhileIdle : true, // 非常重要,预防mysql的8小时timeout问题
//validationQuery : "select 1" , // Oracle的话需要改成 select 1 from dual
maxActive : 100
}
},
daoLis : {
type : "org.nutz.dao.impl.NutDao",
args : [{refer:"dataSourceLis"}]
},