贾兆冀个人资料:Proxool 0.9.1连接池的工作特点
来源:百度文库 编辑:九乡新闻网 时间:2024/10/06 01:22:30
Proxool acts as a proxy. That is, when you ask it to do something it delegates that task to another JDBC driver (you can use whatever driver you like). This has an important benefit: you can switch from any JDBC driver to Proxool by simply making a few configuration changes. The standard life cycle of asking the DriverManager for a Connection and then closing that Connection when you have finished with it remains unchanged.
代码:Class.forName("org.logicalcobwebs.proxool.ProxoolDriver");
connection = DriverManager.getConnection(url);
...
connection.close();
When the ProxoolDriver gives you a Connection it actually gives you a ProxyConnection instead. The ProxyConnection does everything that a Connection does except that when you call the close() method it doesn't really close. Instead, it puts itself back into the pool.
代码:Class.forName("org.logicalcobwebs.proxool.ProxoolDriver");
connection = DriverManager.getConnection(url);
...
connection.close();
When the ProxoolDriver gives you a Connection it actually gives you a ProxyConnection instead. The ProxyConnection does everything that a Connection does except that when you call the close() method it doesn't really close. Instead, it puts itself back into the pool.
Proxool 0.9.1连接池的工作特点
proxool连接池配置详细说明
proxool 的使用 配置
各国情报机构的工作特点一览
proxool 配置
Excel工作簿连接(导入)外部数据的方法
Excel工作簿连接(导入)外部数据的方法
Excel工作簿连接(导入)外部数据的方法
四柱液压机的工作原理和特点及种类
浅谈政协秘书工作的特点及要求
磁电转速传感器的工作原理和特点
weblogic92连接池的连接数异常问题(1) - 豆豆网
液晶显示器特点及工作原理
proxool中的maximum
变频电机的特点1
美国社会保障制度的特点1
新课程评价的特点1
中国神话的特点1
正确认识高考作文的特点1
Excel工作簿连接及(导入)外部数据的方法
当前我市违纪案件的特点和办案工作面临的困难及对策
大学生人际交往的特点和类型_同济大学关心下一代工作委员会
电脑连接电视的方法1
用电脑连接电视的方法1