JDBC连接配置

数据库连接
oracle
jdbc.driverClass=oracle.jdbc.driver.OracleDriver
jdbc.jdbcUrl=jdbc:oracle:thin:@localhost:1521:orcl
jdbc.user=xxx
jdbc.password=xxx
jdbc.acquireIncrement=2
jdbc.initialPoolSize=2
jdbc.minPoolSize=2
jdbc.maxPoolSize=5

mysql
jdbc.driverClass=com.mysql.jdbc.Driver
jdbc.jdbcUrl=jdbc:mysql://localhost:3306/test
jdbc.user=xxx
jdbc.password=xxx
jdbc.acquireIncrement=2
jdbc.initialPoolSize=2
jdbc.minPoolSize=2
jdbc.maxPoolSize=5

posted on 2021-05-07 16:05  landiss  阅读(184)  评论(0编辑  收藏  举报