JDBC.property 配置文件中链接数据库的配置
#sqlserver数据源配置 jdbc.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver jdbc.url=jdbc:sqlserver://192.168.1.60:1408;DatabaseName=test jdbc.username=sa jdbc.password=1 #mysql数据源配置 jdbc.driverClassName=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://192.168.1.60:3306/test jdbc.username=root jdbc.password=root #Oracle数据源配置 jdbc.driverClassName=oracle.jdbc.driver.OracleDriver jdbc.url=jdbc:oracle:thin:@10.60.17.9:1521:orcl jdbc.username=admin jdbc.password=admin
转载自 http://illy.iteye.com/blog/1717461