图解连接池原理
来源:百度知道 编辑:UC知道 时间:2024/06/08 01:35:45
我用的tomcat服务器.连接oracle数据库。举例请用:用户名:scott 密码:tiger。答案满意者积分另有追加
TOMCAT一般可以选用C3P0连接池
具体的你可以看一下文档
里面写的肯定比我们说的清楚多了
hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver
hibernate.connection.username=scott
hibernate.connection.password=tiger
hibernate.connection.url=jdbc:oracle:thin:@192.168.1.220:1521:数据库名
hibernate.dialect=org.hibernate.dialect.Oracle9Dialect
hibernate.jdbc.lobhandler=oracleLobHandler
hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver
hibernate.connection.username=scott
hibernate.connection.password=tiger
hibernate.connection.url=jdbc:oracle:thin:@192.168.1.220:1521
qinghua9 说的对