http://www.connectionstrings.com/
这是俺所关注的内容:
| Using Connection Pooling | |
| The connection pooling service will create a new pool if it can't find any existing pool that exactly match the new connections connection string properties. If there is a matching pool a connection will be recycled from that pool. | |
| ||
实际中有看到这种写法的:
.NET与ORACLE的连接方式
(OracleConnection(.NET))采用共享池链接,连接字符串。(写在web.config)
<add key="strConn" value="User ID=fjdms;Data Source=fjdms_lyj;Password=XXXX;Max Pool Size=1000;pooling=true;" />
从ORACLE网站上看到的连接字符串《通过 Visual Studio 调试 Oracle PL/SQL 》:http://www.oracle.com/technology/global/cn/obe/odt/debugging/debugging.htm
string constr = "User Id=hr; Password=hr; Data Source=ORCL; enlist=false; pooling=false";

本文详细介绍了使用.NET连接Oracle数据库时连接池的配置方法及参数意义,包括如何创建连接池、匹配现有连接池以及具体的连接字符串示例。

1747

被折叠的 条评论
为什么被折叠?



