在配置文件中配置USE的数据源

user-config.xml中

<group name="default">
   <configValue key="C3p0-DriverClass">oracle.jdbc.driver.OracleDriver</configValue>
   <configValue key="C3p0-Url">jdbc:oracle:thin:@localhost:1521:orcl</configValue>
   <configValue key="C3p0-UserName">am</configValue>
   <configValue key="C3p0-Password">am</configValue>
   <configValue key="C3p0-PoolSize">10</configValue>
   <configValue key="C3p0-MaxPoolSize">50</configValue>
   <configValue key="C3p0-MinPoolSize">10</configValue>
   <configValue key="Transaction-Isolation">ISOLATION_DEFAULT</configValue>
   <configValue key="Database-Type">Oracle</configValue>
   <configValue key="Jdbc-Type">Oracle Driver(thin)(Type4)Versions:9.x,10.x</configValue>
   <configValue key="Test-Connect-Sql">SELECT count(*) from EOS_UNIQUE_TABLE</configValue>
   <configValue key="Retry-Connect-Count">-1</configValue>

展开阅读全文

没有更多推荐了,返回首页